Searched refs:naturalOrder (Results 1 – 8 of 8) 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()),
120 results.sort(Comparator.naturalOrder()); in testSolveAll()
356 public static <T extends Comparable<? super T>> Comparator<T> naturalOrder() { in naturalOrder() method
5181 return Comparator.naturalOrder();