Searched refs:naturalOrder (Results 1 – 9 of 9) sorted by relevance
86 Comparator<Item> comparator = Comparator.naturalOrder(); in testNaturalOrder()107 Comparator<Item> comparator = Comparator.naturalOrder(); in testReverse2()117 Comparator<Item> comparator = Comparator.nullsFirst(Comparator.naturalOrder()); in testNullsFirst()122 Comparator<Item> comparator = Comparator.nullsLast(Comparator.naturalOrder()); in testNullsLast()
141 Comparator.naturalOrder()); in checkSpliteratorOfRandomAccessList()
213 assertThrowsUoe(() -> { list.sort(Comparator.<T>naturalOrder()); } ); in assertUnmodifiable()
112 (UnaryOperator<Stream<Integer>>) s -> s.sorted(Comparator.naturalOrder()), in testMixedSeqPar()113 … (UnaryOperator<Stream<Integer>>) s -> s.map(id).sorted(Comparator.naturalOrder()).map(id), in testMixedSeqPar()114 …Stream<Integer>>) s -> s.filter(LambdaTestHelpers.pEven).sorted(Comparator.naturalOrder()).map(id), in testMixedSeqPar()
298 assertCollect(data, Collectors.minBy(Comparator.naturalOrder()),300 assertCollect(data, Collectors.maxBy(Comparator.naturalOrder()),
320 exerciseOps(l, s -> s.limit(10).sorted(Comparator.naturalOrder()));
356 public static <T extends Comparable<? super T>> Comparator<T> naturalOrder() { in naturalOrder() method
5181 return Comparator.naturalOrder();
116 Comparator<? super T> comp = (Comparator<? super T>) Comparator.naturalOrder(); in OfRef()