Java8
ç¥ããªãã¦ãçãã¦ããããã©ãç¥ã£ã¦ãã¨ã¡ãã£ã¨ä¾¿å©ã£ã½ããã®ã ã¿ããªç¥ã£ã¦ãã®ãããããªããã©ãç§ã¯ä»æ¥ã¾ã§ç¥ããªãã£ãããæ¸ãã¦ããã¾ãã ãã¨ãã¨ã¯ä»æ¥ @khasunuma ãããããã¦ããä¸é£ã®ãã¤ã¼ãããã§ãããã®ä¸ã§ç´¹ä»ãããã¹ã©ã¤ãã«â¦
JavaSE8ã§è¿½å ãããjava.util.Optionalã«ã¯nullã¨ã®æ¦ãã«çµæ¢ç¬¦ãæã£ã¦ãããããã¨æã£ã¦ãããã§ãããæã£ã¦ãã ãã ã¨ä½ãèµ·ãããªãã®ã§ã使ãæ¹ã¨ãæã£ããã¨ã¨ããä¸éãæ¸ãã¦ããã¾ãã Optionalã®ãã¡ã¯ããªã¡ã½ãã Optionalã®ã¤ã³ã¹ã¿ã³ã¹ã¡â¦
4å¹´åã«æ¸ãããªã¹ããé ç®ãã¨ã«éè¨ããã¨ããã¨ã³ããªãè¦ã¤ããã®ã§ããªãã¨ãªãä»é¢¨ã«Stream使ã£ã¦æ¸ãã¦ã¿ãã Collection<Output> summary(List<Input> data) { return data -> { Map<String, List<Input>> collected = data.stream() .collect(groupingBy(Input::getKey)); return colle</string,></output>â¦
Javaã®å¤ãã¢ã¬ãªãã©ã¯ãã£ã¹ã®ï¼ã¤ã«ãã¦ã¼ãã£ãªãã£ã¯ã©ã¹*1ãabstractã§ä½æããã¨è¨ãã®ãããã public abstract class SomeUtil { public static String appendA(String str) { return str + "a"; } } ã¦ã¼ãã£ãªãã£ã¡ã½ããappendAã¯ãç¹ã«å½¹ã«ç«â¦
å»ã2014/7/12ã¯é¢è¥¿Javaã¨ã³ã¸ãã¢ã®ä¼ã¹ãã·ã£ã«ï¼ Java 8ãªãªã¼ã¹ã§ãããJavaSE8ã«é¢ããã¢ã¬ã³ã¬ã§ãã£ãããå®ã«å å®ããä¸æ¥ã§ããããã¦ããã®ä¸ã§ã¤ã³ã¿ãã§ã¼ã¹ã«defaultã¡ã½ãããå®ç¾©ã§ããããã«ãªã£ãçµæãèµ·ããã®ãããªããã¨å±æ§ããããâ¦
JEP 118: Access to Parameter Names at Runtime http://download.java.net/jdk8/docs/api/java/lang/reflect/Parameter.html#getName() Java8ã§å®è¡æã« Parameter#getName ã§ã¡ã½ããã®å¼æ°ã®ååãã¨ããæãã§ãã ãã£ã¦ã¿ã ãããªã¯ã©ã¹ã®ã¼ public câ¦
The Java Community Process(SM) Program - JSRs: Java Specification Requests - detail JSR# 335 2013å¹´ã«ãªãªã¼ã¹ãããäºå®ã®JavaSE8ã«å ¥ãå 容ãæ¸ãã¦ã¾ããEarly Draft Review 2ã§ããã¾ã å¤ããããããã¾ããããéã£ãããããã¨è¨ããã¦ãç¥ãã¾â¦
Java8ã®ã©ã ããããã³ã¬ã¯ã·ã§ã³ã®æä½ã°ããã«ç®ãè¡ã£ã¦ããã©ãªã½ã¼ã¹ã®ãªã¼ãã¯ãã¼ãºã¨ããããã¡ãããããããã¡ããã2013-01-02 18:08:15 via YoruFukurouãªãã»ã©ã確ãã« AutoCloseable 㯠Functional Interface ã ã public interface AutoClosâ¦
é¢è¥¿ã¸ã£ãã§ãã©ãã§ããããã¨è¨ããã Lambda ã®æ¸ãæ¹ãããã£ã¨æ¸ãã¦ããã¾ãã JSR-000335 Lambda Expressions for the Java Programming Language - Early Draft Review 2 ãæ¥å¹´ã®äºãè¨ãã°é¬¼ãç¬ããã¨ãè¨ãã¾ãããããä»å¹´ãªãã§å¤§ä¸å¤«ã§ã*1â¦
Java Advent Calendar 2012 : ATND å: Java - Guavaã®Supplierã§ç°¡åãã£ãã·ã¥ - Qiita 次: mikeãmikeãªãã¾ã¾ã«â¦: ä»æ´ã ãã©ãJavaã®åå¼·æ¹æ³ã¾ã¨ãã¦ã¿ã #jjug JavaAdventCalendar2012ã®24æ¥ç®ãã«ã¬ã³ãã¼ãªãã§æ¥ä»ã®ã§ãã24æ¥ã¨ããã ã®æ¥ã ãã1â¦
Java SE 8 ã§ãããã Project Lambda ãå ¥ãã¾ããä½ãå¬ãããã£ã¦ã¼ã¨å é¨ã¤ãã¬ã¼ã¿ã¼ã§ãããå é¨ã¤ãã¬ã¼ã¿ã¼ã£ã¦ãã®ãªãã¸ã§ã¯ãã®ä¸ã§ãããããããããã§ãå¤ããã¯ããã®å¦çããã¦ãã ãããªãã¨æ¸¡ãå¿ è¦ãããã¾ãããããç°¡åã«æ¸ããããã«â¦