Java8 ã® Developer preview ãå ¬éãããã®ã§ãããããæ°æ©è½ã«ã¤ãã¦ã¾ã¨ãã¦ããã¾ãã æ©è½ä¸è¦§ã¯ãã¡ãã§ãã ã¤ã³ã¿ã¼ãã§ã¼ã¹ã«staticãªã¡ã½ããå®ç¾©ãå¯è½ã«ãªã£ã ä¾ãã°ãjava.util.Comparator ã«ã¯ä»¥ä¸ã® static ãªã¡ã½ããã追å ããã¦ãã¾ãã @FunctionalInterface public interface Comparator<T> { public static <T, U> Comparator<T> comparing( Function<? super T, ? extends U> keyExtractor, Comparator<? super U> keyComparator) { Objects.requireNonNull(keyExtractor); Objects.requireNonNull(k
{{#tags}}- {{label}}
{{/tags}}