Java9ããªãªã¼ã¹ãããæ¨ä»ãä»æ´ã ãã©ãKindleã§å®ããªã£ã¦ãã®ã§èªãã ã
Javaããã°ã©ãã¼ãªãç¿å¾ãã¦ãããã Java SE 8 å®è·µããã°ã©ãã³ã°
- ä½è : Cay S. Horstmann
- åºç社/ã¡ã¼ã«ã¼: ã¤ã³ãã¬ã¹
- çºå£²æ¥: 2015/04/03
- ã¡ãã£ã¢: Kindleç
- ãã®ååãå«ãããã° (7件) ãè¦ã
Java SE8 for the Really Impatientã®ç¿»è¨³æ¬ã§ãJava 8ããã®æ°æ©è½ã§ããã©ã ãå¼ãã¯ãããã¹ããªã¼ã APIãæ°ããæ¥ä»ã¯ã©ã¹ãªã©ã«ã¤ãã¦è©³ããç´¹ä»ããã¦ããã
æ°æ©è½ã®ç´¹ä»ããã¦ã¯ãåã«è¨æ³ãã©ã¤ãã©ãªã®ç´¹ä»ããã¦ãããã ãã§ãªããè¨èªã®è¨è¨ã®æ¹éãéå»ã®ãã¼ã¸ã§ã³ã®Javaã¨ã®äºææ§ãªã©ãè¸ã¾ãã説æããªããã¦ãã¦èªã¿å¿ãããããä¾ãã°ãã©ã ãå¼ãJavaã¨ããè¨èªã§è¡¨ç¾ããããã«ãæ±ç¨çãªé¢æ°åã¯ã»ã¨ãã©ä½¿ããã¦ããããç¨éãã¨ã«é¢æ°ã®ããã«æ±ããinterface(= FunctionalInterfaceã§æ³¨éããã)ãå®ç¾©ããã¦ãã¦ããã®interfaceã«åè´ããããã«ã©ã ãå¼ãä¸ããã¨ãããµãã«ãªã£ã¦ããããã®æ¹æ³ã§ã¯æ¢åã®Javaã®ããã°ã©ãã³ã°ã®æ¹æ³ãå¤ããã«æ°ããã©ã ãå¼ãæ¡ç¨ã§ããâ¦â¦ã¨ãã£ãå 容ã
æ°æ©è½ã®ç´¹ä»ä»¥å¤ã§ã¯ã9.4ç« ã»ãã¥ãªãã£æ¡ä»¶ã§ã³ã©ã çã«èªããã¦ãããJava ã¢ãã¬ãããJava Web Start ããªããã¾ããããªãã£ããã«ã¤ãã¦èè ãããããåæãã¦ããã¨ãããèå³æ·±ãã£ããWrite once, run anywhereãªãã¦ãªãã£ãããâ¦â¦ã
ãã¨ããã®æ¬ã®ç¹å¾´ã¨ãã¦ã¯ãç« ãã¨ã«ããç·´ç¿åé¡ããããå å®ãã¦ããã¨ããã®ããããæ¬ã«æ¸ããã¦ããç¯å²ãè¶ ãã¦èªåã§èããªããã°è§£ããªããããªé£æ度ã§ãè¯ãç·´ç¿ã«ãªããåã1ç« ã¨2ç« ã®ç·´ç¿åé¡ããããã«è§£ãã¦ã¿ãã
ä¸å¿åé¡ãã¨ã«ãã¹ããæ¸ãã¦åãã確ãããããããã«ãã¦ããã回答のコードはこういう調子ãã³ã¼ããæ¸ããªããããªåãããã®ã§ãæãã¦ããçªå·ãããã
3ç« ä»¥éã®åé¡ãæ°ãåããããããããã©ãJavaFXã«ä¾åãã¦ãåé¡ããã£ãããã¦ãªããã¡ãã£ã¨ãã¹ããããããªã¼ã¨ãªã£ã¦ããã¾ãæ°ãããã¾ãªãããã®ç·´ç¿åé¡ã¯å ¨ä½çã«ã¯è¯ãåé¡ãæã£ã¦ããã ãã©ãä»æ§ãã¯ã£ããããªãã£ãããå¦ã«è¾¼ã¿å ¥ã£ããã¨ãããå¿ è¦ããã£ããããããããããåé¡ã ããããããã§ãè¯ãã¨æãã
çµæ§ãã®ç·´ç¿åé¡ã«ãã£ã¬ã³ã¸ãã¦ãã人ããã¦ã"Java SE 8 å®è·µããã°ã©ãã³ã° ç·´ç¿åé¡" ã¨ãã§æ¤ç´¢ããã¨ããã¤ãè¦ã¤ãã£ã¦ãçºããã¨é¢ç½ããåèã®ã¿ã¤ãã«ã§æ¤ç´¢ãã¦ãããã¤ãè¦ã¤ããã
ç·ãã¦Java 8ã®æ°æ©è½ããã£ããå¦ã¹ãããç¹ã«Javaããã°ã©ãã³ã°ã®é¡æããªãã¦ãç·´ç¿åé¡ã¨ããã£ã¦æ¥½ãããã®ã§è¯ãæ¬ã ã¨æããã³ã¬ã§åãããã©ã ãå¼ãããããã¾ããã!ãã£ã¦è¨ã£ã¦ãããã¯ãããã¨Java FXã®ç« ã¯èªãã§ãªãã§ããããã¾ããã
ç 究ãJavaã§ãã£ããã2,3å¹´åã¯Androidã¢ããªæ¸ãã¦ããããã¦ãã®ã§ãåºæ¬çãªJavaã¯ä¸å¿æ¸ããã¨ããã¤ããã ã£ããã©ãã ãããå¿ãã¦ããã¨ãããã¨ãããã£ãã
Javaãæ¸ããªããã§ã³ã³ã¹ãã©ã¯ã¿ã®å½åã«ã¼ã«å¿ãã¦ãconstructor ã ã£ã?initializeã ã£ã?__init__ã ã£ã?makeã ã£ã?ã¨ãªã£ãçµæã¯ã©ã¹åãã³ã³ã¹ãã©ã¯ã¿ã ã¨ãããã¨ãæãåºãã¦ã¯??ã£ã¦ãªã
— hakobe (@hakobe) 2017å¹´11æ1æ¥
Javaå¿ãããã¦ãã¦Thread.startãå¿ãã
— hakobe (@hakobe) 2017å¹´11æ3æ¥