[Java] Java8ã®ã©ã ãã«è¶ å ¥éï¼æ¸ãæ¹ãé¢æ°åã¤ã³ã¿ã¼ãã§ã¼ã¹ãç¬èªã«å®ç¾©ãã©ã ãåãåãå¦çï¼ ããã«ã¡ã¯ã@yoheiMuneã§ãã ä»äºã§Java8ã使ããã¨æãåå¼·ä¸ã§ããä»æ¥ã¯Java8ã®ã©ã ãæ©è½ã«ã¤ãã¦ãããããã¨æ¸ãã¦ã¿ããã¨æãã¾ãããããããªè¨äºã§ã©ã ããè¨åããã¦ã¯ãããã®ã®ãå°ãæççã ã£ããã§ãããããã®è¨äºã¯ããæãã«ã¾ã¨ããããã®ã§ã¯ã¨æãã¾ãã ç®æ¬¡ Java8ã®ã©ã ãå¼ã¨ã¯ ã©ã ãå¼ã¯ã²ã¨ã¾ã¨ã¾ãã®å¦çãè¨è¿°ã§ããæ°ããä»æ§ã§ããä¾ãã°ãJava7ã¾ã§ã¯ã½ã¼ãå¦çã以ä¸ã®ããã«æ¸ãã¾ããã // ç¡åã¯ã©ã¹ã使ã£ãå ´åï¼Java7ã¾ã§ï¼ Collections.sort(userList, new Comparator<String>() { @Override public int compare(String o1, String o2) {
{{#tags}}- {{label}}
{{/tags}}