/libcore/ojluni/src/main/java/java/util/stream/ |
H A D | Collectors.java | 423 * reducing(BinaryOperator.minBy(comparator)) 427 * @param comparator a {@code Comparator} for comparing elements 431 minBy(Comparator<? super T> comparator) { argument 432 return reducing(BinaryOperator.minBy(comparator)); 442 * reducing(BinaryOperator.maxBy(comparator)) 446 * @param comparator a {@code Comparator} for comparing elements 450 maxBy(Comparator<? super T> comparator) { argument 451 return reducing(BinaryOperator.maxBy(comparator));
|
H A D | ReferencePipeline.java | 394 public final Stream<P_OUT> sorted(Comparator<? super P_OUT> comparator) { argument 395 return SortedOps.makeRef(this, comparator); 515 public final Optional<P_OUT> max(Comparator<? super P_OUT> comparator) { argument 516 return reduce(BinaryOperator.maxBy(comparator)); 520 public final Optional<P_OUT> min(Comparator<? super P_OUT> comparator) { argument 521 return reduce(BinaryOperator.minBy(comparator));
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | ConcurrentSkipListMap.java | 297 * handle infusing comparator-vs-comparable choice into search 298 * loops. Static method cpr(comparator, x, y) is used for all 299 * comparisons, which works well as long as the comparator 341 * The comparator used to maintain order in this map, or null if 346 final Comparator<? super K> comparator; field in class:ConcurrentSkipListMap 360 * (Note that comparator must be separately initialized.) 616 * Compares using comparator or natural ordering if null. 709 Comparator<? super K> cmp = comparator; 745 Comparator<? super K> cmp = comparator; 787 Comparator<? super K> cmp = comparator; 1262 ConcurrentSkipListMap(Comparator<? super K> comparator) argument 1992 public Comparator<? super K> comparator() { method in class:ConcurrentSkipListMap 2343 public Comparator<? super K> comparator() { return m.comparator(); } method in class:ConcurrentSkipListMap.KeySet 2877 public Comparator<? super K> comparator() { method in class:ConcurrentSkipListMap.SubMap 3276 final Comparator<? super K> comparator; field in class:ConcurrentSkipListMap.CSLMSpliterator 3281 CSLMSpliterator(Comparator<? super K> comparator, Index<K,V> row, Node<K,V> origin, K fence, int est) argument 3292 KeySpliterator(Comparator<? super K> comparator, Index<K,V> row, Node<K,V> origin, K fence, int est) argument 3380 ValueSpliterator(Comparator<? super K> comparator, Index<K,V> row, Node<K,V> origin, K fence, int est) argument 3467 EntrySpliterator(Comparator<? super K> comparator, Index<K,V> row, Node<K,V> origin, K fence, int est) argument [all...] |
/libcore/ojluni/src/main/java/java/util/ |
H A D | TreeMap.java | 46 * whether or not an explicit comparator is provided, must be <em>consistent 117 * The comparator used to maintain order in this tree map, or 122 private final Comparator<? super K> comparator; field in class:TreeMap 149 comparator = null; 154 * comparator. All keys inserted into the map must be <em>mutually 155 * comparable</em> by the given comparator: {@code comparator.compare(k1, 162 * @param comparator the comparator that will be used to order this map. 166 public TreeMap(Comparator<? super K> comparator) { argument 283 public Comparator<? super K> comparator() { method in class:TreeMap 1166 public Comparator<? super E> comparator() { return m.comparator(); } method in class:TreeMap.KeySet 1884 public Comparator<? super K> comparator() { method in class:TreeMap.AscendingSubMap 1979 public Comparator<? super K> comparator() { method in class:TreeMap.DescendingSubMap 2085 public Comparator<? super K> comparator() { throw new InternalError(); } method in class:TreeMap.SubMap [all...] |
H A D | Collections.java | 184 * specified comparator. All elements in the list must be <i>mutually 185 * comparable</i> using the specified comparator (that is, 225 * @param c the comparator to determine the order of the list. A 229 * <i>mutually comparable</i> using the specified comparator. 232 * @throws IllegalArgumentException (optional) if the comparator is 355 * according to the specified comparator (as by the 371 * @param c the comparator by which the list is ordered. 383 * <i>mutually comparable</i> using the specified comparator, 385 * elements of the list using this comparator. 681 * order induced by the specified comparator 1240 public Comparator<? super E> comparator() {return ss.comparator();} method in class:Collections.UnmodifiableSortedSet 1786 public Comparator<? super K> comparator() { return sm.comparator(); } method in class:Collections.UnmodifiableSortedMap 2051 public Comparator<? super E> comparator() { method in class:Collections.SynchronizedSortedSet 2493 public Comparator<? super K> comparator() { method in class:Collections.SynchronizedSortedMap 2803 public Comparator<? super E> comparator() { return ss.comparator(); } method in class:Collections.CheckedSortedSet 3421 public Comparator<? super K> comparator() { return sm.comparator(); } method in class:Collections.CheckedSortedMap [all...] |
/libcore/support/src/test/java/tests/resources/ |
H A D | junit4-4.3.1.jar | META-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ... |