Upgrade to Pro — share decks privately, control downloads, hide ads and more …

普段使いのDDD

83579d17f780c8712ac17fa800efbbbb?s=47 haljik
June 24, 2017

 普段使いのDDD

#KanJavaPartyA2

83579d17f780c8712ac17fa800efbbbb?s=128

haljik

June 24, 2017
Tweet

Transcript

  1. ීஈ࢖͍ͷ%%% ,"/+"7"1"35: !IBMKJL 

  2. ࣗݾ঺հ w 5XJUUFS!IBMKJL w ໊લɿՏ্੖࢘ʢ͔Θ͔Έ͍ͤ͡ʣ w ϑϦʔϥϯε೥໨ͷ+BWBϓϩάϥϚ w ؔ੢%%%KBWBओ࠵ 

  3. ͜ͷࢿྉʹ͍ͭͯ w ࢲ͕ৗ೔ࠒ͔ΒυϝΠϯۦಈઃܭʹ͍ͭͯߟ͍͑ͯ ΔࣄΛݴޠԽͨ͠΋ͷͰɺͦΕҎ্ͷ΋ͷͰ͸͋Γ ·ͤΜ w +BWB͕લఏͰ͸͋Γ·͕͋͢·Γ+BWBͷ࿩͸͠· ͤΜ w ΦϒδΣΫτࢦ޲Ͱ͢

    w ϚΠΫϩαʔϏεͱ͔$234ͱ͔ͷ࿩͸͋Γ·ͤΜ 
  4. ࠓ೔࿩͢ࣄ w υϝΠϯۦಈઃܭ͕໨ඪͱ͍ͯ͠Δ͜ͱ w υϝΠϯۦಈઃܭ͕લఏͱ͍ͯ͠Δ͜ͱ w ʮυϝΠϯͰۦಈ͢Δʯͱ͍͏͜ͱͷ࣮ࡍ w νʔϜͰڞ༗͓ͯ͘͜͠ͱ w

    ࣮ࡍʹײͨ͡ޮՌ w ʮීஈ࢖͍ʯͱ͍͏͜ͱ 
  5. υϝΠϯۦಈઃܭ͕໨ඪ ͱ͍ͯ͠Δ͜ͱ 

  6. ॊೈͰ֦ுੑʹ෋Μͩ ιϑτ΢ΣΞ 

  7. मਖ਼΍֦ு͕ࠔ೉ʹͳͬͯ ͠·ͬͨ৔߹͸ࣦഊ 

  8. Ͳ͏ͳ͍ͬͯΕ͹ྑ͍͔ʁ ར༻ऀ͕ʮ͜͜ʯΛʮ͜͏ʯ͍ͨ͠ͱ͍ ͏ཁ๬ʹରͯ͠ɺʮ͜͜ʯΛʮ͜͏ʯ͢ Δ͚ͩͰมߋͰ͖ΔΑ͏ʹͳ͍ͬͯΕ͹ ྑͦ͞͏ 

  9. υϝΠϯۦಈઃܭ͕લఏ ͱ͍ͯ͠Δ΋ͷ 

  10. ։ൃνʔϜ͕ར༻ऀͷ׆ಈʹؔ͢Δ ஌ࣝମܥΛഎෛ͍ࠐΉ͜ͱ w ୯ͳΔ஌ࣝͰ͸ͳ͘ମܥ
 CPEZPGLOPXMFEHF˞  w ͨͩ஌Δ͚ͩͰ͸ͳ͘എෛࠐΉ
 CSJOHUPCFBS˞ ˞&SJD&WBOT

    %PNBJO%SJWFO%FTJHO  "EEJTPO8FTMFZ1SPGFTTJPOBM൛   ୈ̍෦ͷং൫ 
  11. ෼ۀ͠ͳ͍ w ෼ੳɾઃܭऀͱϓϩάϥϚΛ෼͚ͳ͍
 ຋༁ͤͣؔ৺ࣄͱϓϩάϥϜͷ୯ҐΛҰகͤ͞Δ w Ϟσϧͷ࡞੒ऀͱϞσϧͷར༻ऀΛ෼͚ͳ͍
 ϞσϧͱͦΕΛར༻͢Δଆͷίʔυ͸ɺϞσϧʹ৽ ͨͳ஌͕ࣝ੝Γࠐ·ΕΔ౓ʹมߋ͞ΕΔ 

  12. ΠςϨʔςΟϒͳϓϩηε w Ϟσϧ͸։ൃऀͷ஌ࣝͱͱ΋ʹ੒௕͢Δ w ͪΐͬͱ໊ͨ͠લมߋͰ͢ΒϞσϧΛར༻͢Δଆͷ ίʔυʹ೾ٴ͢Δ w ϓϩάϥϛϯάͷϓϥοτϑΥʔϜʹΑΔ੍໿ͷΑ ͏ͳ΋ͷ΋౰વϞσϧʹϑΟʔυόοΫ͕͔͔Δ w

    ͦ͏Ͱͳ͍ͱ࣮༻ੑͷͳ͍ϞσϧʹͳΔ 
  13. ʮυϝΠϯͰۦಈ͢Δʯ ͱ͍͏͜ͱͷ࣮ࡍ 

  14. ར༻ऀͷؔ৺ࣄυϝΠϯ 

  15. ར༻ऀͷ͍͏ʮ͜͜ʯΛ͜͏ ͍ͨ͠ͷʮ͜͜ʯ͕ίʔυ ্ͷͲ͜Λࢦ͢ͷ͔ʁ 

  16. ར༻ऀͷؔ৺ࣄͱ͸ҧ͏୯ҐͰ ϓϩάϥϛϯάͯ͠͠·͏ͱม ߋͷӨڹൣғ͸༧૝Ͱ͖ͳ͍ 

  17. ڞ௨Խͱ͔ 

  18. ա౓ͳந৅Խͱ͔ 

  19. ٕज़ۦಈͱ͔ 

  20. ը໘ۦಈͱ͔ 

  21. ͍Ζ͍Ζ͋Δ͚Ͳ ༧૝֎ͷӨڹ͸༧૝֎ͷί ετʹͳΓൃలΛ્֐͢Δ 

  22. ͔ͩΒ 

  23. ར༻ऀͷؔ৺ࣄʹϓϩάϥϛϯάͷجຊ ୯ҐΛ͋ΘͤΔ ؔ৺ࣄͷ୯ҐͰ൑அɺՃ޻ϩδοΫΛ࣋ ͪɺͦΕΒͷϩδοΫʹۦಈ͞ΕΔιϑ τ΢ΣΞʹ͢Δ 

  24. υϝΠϯϞσϧʹۦಈ͞Ε ΔΞϓϦέʔγϣϯΛ࡞Δ 

  25. υϝΠϯϞσϧͰۦಈ͞ΕΔ ΞϓϦέʔγϣϯΛ࡞Δʹ͸ υϝΠϯϞσϧ͕࣋ͭ൑அɺՃ޻ϩδοΫʹରͯ͋͠ ΒΏΔͱ͜Ζ͔ΒΞΫηεͰ͖ΔΑ͏ͳΞʔΩςΫνϟ Λ࠾༻͠ɺυϝΠϯϞσϧʹ൑அɺՃ޻ϩδοΫΛू ΊΔඞཁ͕͋Δ 

  26. νʔϜͰڞ༗͓ͯ͘͜͠ͱ 

  27. w ڥք͚ͮΒΕͨίϯςΩετ w ίϯςΩετͷ֓ཁϞσϦϯά w ϓϩάϥϛϯά্ͷݪଇ νʔϜͰڞ༗͓ͯ͘͜͠ͱ 

  28. ڥք෇͚ΒΕͨίϯςΩετ νʔϜͰڞ༗͓ͯ͘͜͠ͱ 

  29. ڥք͚ͮΒΕͨίϯςΩετ w ίϯςΩετʹࢹ࠲
 ݻ༗໊ࢺҎ֎͸·ͣࢹ࠲Λ֫ಘ͠ͳ͍ͱ໊લ͕ܾ·Βͳ͍ w ࢹ࠲ͱ͸γεςϜར༻ऀͱར༻໨తͷʮ૊Έ߹Θͤʯ
 ྫʣస৬αΠτɿʮاۀ͕ࣗࣾʹ͋ͬͨࣾһΛ୳͢ҝʯʮٻ৬ ऀ͕ࣗ෼ʹ͋ͬͨస৬ઌاۀΛ୳͢ҝʯͳͲͳͲ w ࢹ࠲͝ͱʹϞσϦϯάͷ໊લۭؒΛ෼͚ͯɺͦͷࢹ࠲͔ΒΈͨ

    Ϟσϧͷಋग़ʹूத͢ΔʹίϯςΩετʹಛԽ͢Δ
 ྫʣస৬αΠτɿʮاۀʯͱʮٻ৬ऀʯͱ͍͏໊લۭؒʹ෼͚ Δ νʔϜͰڞ༗͓ͯ͘͜͠ͱ 
  30. ࢹ࠲Ͱ஌ࣝΛ੔ཧ ࢹ࠲͕ίϯςΩετʹͳΔ νʔϜͰڞ༗͓ͯ͘͜͠ͱ 

  31. ࢹ࠲ͷݟ͚ͭํ w ࡞Ζ͏ͱ͍ͯ͠ΔαʔϏε΍γεςϜͷར༻ऀΛચ ͍ग़͢ ਓͷ໾ׂͩͬͨΓγεςϜͩͬͨΓ͢Δ  w ͦΕͧΕͷར༻ऀ͕ԿΛ໨తʹͦͷγεςϜΛ࢖͏ ͷ͔Λ໌֬ʹ͢Δ w

    ໨త͕ҧ͏ͳΒผͷࢹ࠲ w ໨త͕ಉ͡ͳΒಉ͡ࢹ࠲ʢ͔΋ʣ νʔϜͰڞ༗͓ͯ͘͜͠ͱ 
  32. ίϯςΩετͷ֓ཁϞσϦϯά νʔϜͰڞ༗͓ͯ͘͜͠ͱ 

  33. w ਓɺ෺ɺࣄ෼ੳ w ࣌ܥྻ෼ੳ νʔϜͰڞ༗͓ͯ͘͜͠ͱ 

  34. ਓɾ෺ɾࣄ෼ੳ ਓٻ৬ऀɺձһɺاۀͷ୲౰ऀ
 ෺ٻਓɺاۀ
 ࣄݕࡧɺԠืɺεΧ΢τ ྫɿٻਓαΠτͷٻ৬ऀΛࢹ࠲ʹͨ͠৔߹ νʔϜͰڞ༗͓ͯ͘͜͠ͱ 

  35. ࣌ܥྻ෼ੳ  ٻ৬ऀɺاۀ͕ಠཱͯ͠·ͣ͋Δ  ٻ৬ऀ͕ձһొ࿥Λ͓͜ͳ͍ձһʹͳΔ  اۀ͕ٻਓΛొ࿥͢Δ  اۀ͕ٻਓΛఴ෇ͨ͠εΧ΢τΛձһʹૹΔ 

    ձһ͸اۀ͔ΒεΧ΢τΛड͚ͱΔ  ձһ͸εΧ΢τʹԠื͢Δ ͳͲಠཱͯ͋͠Δਓ΍෺Λ·ͣฒ΂ͦΕΒ͕ى͜͢ओཁͳΠϕϯτΛ࣌ܥྻʹฒ΂Δ ྫɿٻਓαΠτͷٻ৬ऀΛࢹ࠲ʹͨ͠৔߹ νʔϜͰڞ༗͓ͯ͘͜͠ͱ 
  36. ϞσϧԽͨ͠΋ͷ ਓɺ෺ɺࣄ෼ੳͰग़ͨཁૉΛ࣌ ܥྻ෼ੳͰؔ܎෇͚͠ɺґଘͷ ํ޲ΛܾΊͨঢ়ଶ  νʔϜͰڞ༗͓ͯ͘͜͠ͱ

  37. ϞσϧΛίʔυͰ ͜ͷϨϕϧͰ͸ϞσϧͷτοϓϨϕϧύοέʔδ ͷߏ଄Ͱදݱ͢Δ
 
 EPNBJONPEFM
 DBOEJEBUF ٻ৬ऀ 
 DPNQBOZ اۀ

    
 P⒎FS ٻਓ 
 NFNCFS ձһ 
 TDPVU εΧ΢τ 
 BQQMJDBUJPO Ԡื 
 
 ύοέʔδؒͷґଘํ޲͸ͦͷ··಺෦ͷΦϒδΣ Ϋτ͕ύοέʔδΛލ͙ࡍͷґଘํ޲ʹ͢Δ  νʔϜͰڞ༗͓ͯ͘͜͠ͱ
  38. ϙΠϯτ w ࢹ࠲Λ֫ಘ͢Δ͜ͱͰɺͦͷࢹ࠲͔ΒΈͯෆཁͳ΋ ͷΛ࡟͗མͱ͠ɺॏཁͳ΋ͷΛڧௐ͢Δ w ࣌ܥྻͰચ͍ग़͢ґଘͷํ޲͸ॏཁͳ΋ͷ
 ͋ΔλΠϛϯάͰଘࡏ͠ͳ͍΋ͷ͸ࢀরͰ͖ͳ͍ͷ Ͱ͜ΕΛ่͢ͱ࣋ͬͯΔ͔͍࣋ͬͯͳ͍͔ͱ͍͏ঢ় ଶ͕૿͑ͯෳࡶ౓͕Ճ଎ 

    νʔϜͰڞ༗͓ͯ͘͜͠ͱ
  39. ϓϩάϥϛϯά্ͷݪଇ  νʔϜͰڞ༗͓ͯ͘͜͠ͱ

  40. ϓϩάϥϛϯά্ͷݪଇ w ΞʔΩςΫνϟ w ϦϑΝΫλϦϯά w υϝΠϯΦϒδΣΫτͷίʔυ w Ϟσϧͷࣗಈςετ w

    +BWBͷجຊతͳ͜ͱ w ΦϒδΣΫτࢦ޲  νʔϜͰڞ༗͓ͯ͘͜͠ͱ
  41. ΞʔΩςΫνϟ ̏૚ʴυϝΠϯϞσϧ  νʔϜͰڞ༗͓ͯ͘͜͠ͱ

  42. ̏૚ υϝΠϯϞσϧ  νʔϜͰڞ༗͓ͯ͘͜͠ͱ

  43. w υϝΠϯʹଞͷ̏૚͕ґଘ͍ͯ͠Δҙຯ
 υϝΠϯ͕શͯΛ੍ޚ͢Δҝ
 υϝΠϯʹϩδοΫΛूΊΔҝ w ϓϨθϯςʔγϣϯ૚
 ը໘ભҠ΍ΞϓϦέʔγϣϯ૚ͷݺͼग़͠ʹప͢Δ w ΞϓϦέʔγϣϯ૚
 υϝΠϯΦϒδΣΫτͷૢ࡞ͱ


    ΠϯϑϥετϥΫνϟ૚ͷݺͼग़͠ʹప͢Δ w ΠϯϑϥετϥΫνϟ૚
 υϝΠϯͰఆٛ͞ΕΔϦϙδτϦΠϯλʔϑΣʔεͷ࣮૷Λஔ͘
 3%#,74ͷૢ࡞ɺଞ"1*ͷݺͼग़͠ͳͲɺར༻ऀͷؔ৺ࣄΑΓ΋ ந৅౓ͷ௿͍΋ͷΛஔ͘  νʔϜͰڞ༗͓ͯ͘͜͠ͱ
  44. w ૚ಉ࢜ͷґଘؔ܎
 ্૚͔ΒԼ૚ʹର͢Δݺͼग़͠͸0,
 Լ૚͔Β্૚ʹର͢Δݺͼग़͠͸/( w υϝΠϯͷू໿୯ҐͰϦϙδτϦΛ࡞Δ w ϦϙδτϦΛܦ༝͠ͳ͍Ͱଞͷू໿Λऔಘ͠ͳ͍ w ϦϙδτϦ͔ΒϦϙδτϦ΁ͷݺͼग़͠͸ɺυϝΠ

    ϯͷτοϓϨϕϧύοέʔδͷґଘؔ܎ΛकΔ  νʔϜͰڞ༗͓ͯ͘͜͠ͱ
  45. ϦϑΝΫλϦϯά  νʔϜͰڞ༗͓ͯ͘͜͠ͱ

  46. w ৗʹϦϑΝΫλϦϯά͢Δ w ϘʔΠεΧ΢τϧʔϧ
 खΛೖΕΔ࣌͸ʮདྷͨ࣌ΑΓ΋ඒ͘͠ʯ w ʮ࢖͍ࠐΜͩάϩʔϒʯ
 &SJD&WBOTΤϦοΫɾΤϰΝϯεͷυϝΠϯۦಈઃܭ
 ୈ෦ਂ͍Ϟσϧ͠ͳ΍͔ͳઃܭ 


    ϦϑΝΫλϦϯάʹΑΓྑ͘มߋ͞ΕΔ৔ॴ͕ࣗવͱॊೈͳߏ଄ʹͳΔ w ӅΕ͍ͯΔ֓೦Λ୳͢
 &SJD&WBOTΤϦοΫɾΤϰΝϯεͷυϝΠϯۦಈઃܭ
 ষ҉໧తͳ֓೦Λ໌ࣔతʹ͢Δ  νʔϜͰڞ༗͓ͯ͘͜͠ͱ
  47. υϝΠϯΦϒδΣΫτͷίʔυ  νʔϜͰڞ༗͓ͯ͘͜͠ͱ

  48. HFUUFS w ΦϒδΣΫτʹ࢓ࣄΛͤ͞ΔͨΊʹɺॻ͔ͳ͍ w ಺෦ϑΟʔϧυͷ஋͕ݟͨ͘ͳͬͨΒɺͦͷʮϑΟʔ ϧυ஋Λ࢖͏ϩδοΫΛͦͷΦϒδΣΫτࣗ਎ʹ࣋ ͨͤΒΕͳ͍͔ʯΛߟ͑Δ  νʔϜͰڞ༗͓ͯ͘͜͠ͱ

  49. ίϯετϥΫλ w جຊతʹؔ৺ࣄͷ֎ͳͷͰԼʹ௥͍΍Δ w ΦϒδΣΫτͷओ໾͸ϑΟʔϧυͱɺͦΕΛ࢖ͬͯ Ճ޻ɺ൑அΛߦ͏ϩδοΫΛ࣋ͭϝιου w ҙਤͷද໌͸ϑΝΫτϦϝιουͰ  νʔϜͰڞ༗͓ͯ͘͜͠ͱ

  50. ࣗಈςετ  νʔϜͰڞ༗͓ͯ͘͜͠ͱ

  51. Ϟσϧͷࣗಈςετ w ࠷ॳʹܕͷੈքͰղܾͰ͖ͳ͍͔Λߟ͑Δ w ࣍ʹߏ଄ͰղܾͰ͖ͳ͍͔Λߟ͑Δ w Ͳ͏͠Α͏΋ͳ͍৔߹͸ςετΛॻ͘  جຊతʹॻ͔ͳ͍ νʔϜͰڞ༗͓ͯ͘͜͠ͱ

  52. +BWBͷجຊతͳࣄ  νʔϜͰڞ༗͓ͯ͘͜͠ͱ

  53. DDD@F;ͭ͏ͷ+BWBίʔσΟϯάͰݕࡧ
 JSPG͞ΜͷࢿྉΛݟ͍ͯͩ͘͞ νʔϜͰڞ༗͓ͯ͘͜͠ͱ 

  54. ΦϒδΣΫτࢦ޲ νʔϜͰڞ༗͓ͯ͘͜͠ͱ 

  55. ͜Μͳຊ͕݄೔ʹ
 ग़·͢ɻ ಡॻձ͍ͨ͠ IUUQHJIZPKQCPPL νʔϜͰڞ༗͓ͯ͘͜͠ͱ 

  56. ීஈ࢖͍ͷҙຯ 

  57. w গͳ͘ͱ΋ࢲ͸ීஈ͔Β΍͍ͬͯͳ͍͜ͱΛෳࡶͳ ΋ͷΛݟ͚ͭͨͱ͖͚ͩʹग़དྷΔͱ͸ࢥ͑ͳ͍ w খͯ͘͞୯७ͳ։ൃͰ΋஌ࣝͷ֬ೝɾ෼ੳɾϓϩά ϥϛϯάͷαΠΫϧΛීஈ͔ΒԿ౓΋ճ͢ w ͍ͭͰ΋ͲΜͳ࣌Ͱ΋Ͱ͖ΔΑ͏ʹجຊΛ܁Γฦ͠ ͯ࠷௿඼࣭Λఈ্͓͛ͯ͘͠