/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | SortedOpTest.java | 61 .sorted(); in testRefStreamTooLarge() 70 .sorted(); in testIntStreamTooLarge() 79 .sorted(); in testLongStreamTooLarge() 88 .sorted(); in testDoubleStreamTooLarge() 120 assertCountSum(countTo(0).stream().sorted(), 0, 0); in testSorted() 121 assertCountSum(countTo(10).stream().sorted(), 10, 55); in testSorted() 122 assertCountSum(countTo(10).stream().sorted(cInteger.reversed()), 10, 55); in testSorted() 125 assertSorted(to10.stream().sorted(cInteger.reversed()).iterator(), cInteger.reversed()); in testSorted() 128 assertSorted(to10.stream().sorted().iterator()); in testSorted() 130 Spliterator<Integer> s = to10.stream().sorted().spliterator(); in testSorted() [all …]
|
D | DoublePrimitiveOpsTests.java | 65 double[] array = Arrays.stream(content).sorted().toArray(); in testSort() 70 double[] array = Arrays.stream(content).parallel().sorted().toArray(); in testSort() 83 double[] array = Arrays.stream(content).sorted().sorted().toArray(); in testSortSort() 88 double[] array = Arrays.stream(content).parallel().sorted().sorted().toArray(); in testSortSort()
|
D | ToArrayOpTest.java | 78 Object[] objects = exerciseTerminalOps(data, s -> s.sorted(), s -> s.toArray()); in testOpsWithSorted() 105 s.sorted() in testAsArrayWithType() 107 .map((Double d) -> Integer.valueOf(d.intValue())).sorted(), in testAsArrayWithType() 115 s -> s.sorted(), 116 s -> s.sorted() 147 s -> s.sorted() 232 int[] ints = exerciseTerminalOps(data, s -> s.sorted(), (IntStream s) -> s.toArray()); 259 s -> s.sorted(), 260 s -> s.sorted() 274 s -> s.sorted() [all …]
|
D | IntPrimitiveOpsTests.java | 108 int[] array = Arrays.stream(content).sorted().toArray(); in testSort() 113 int[] array = Arrays.stream(content).parallel().sorted().toArray(); in testSort() 126 int[] array = Arrays.stream(content).sorted().sorted().toArray(); in testSortSort() 131 int[] array = Arrays.stream(content).parallel().sorted().sorted().toArray(); in testSortSort()
|
D | LongPrimitiveOpsTests.java | 108 long[] array = Arrays.stream(content).sorted().toArray(); in testSort() 113 long[] array = Arrays.stream(content).parallel().sorted().toArray(); in testSort() 126 long[] array = Arrays.stream(content).sorted().sorted().toArray(); in testSortSort() 131 long[] array = Arrays.stream(content).parallel().sorted().sorted().toArray(); in testSortSort()
|
D | SequentialOpTest.java | 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 …(UnaryOperator<Stream<Integer>>) s -> s.filter(LambdaTestHelpers.pEven).sorted(Comparator.naturalO… in testMixedSeqPar()
|
D | DistinctOpTest.java | 159 .stream(s -> s.distinct().sorted(), in testDistinctSorted() 169 .stream(s -> s.sorted().distinct(), in testSortedDistinct()
|
D | IntUniqOpTest.java | 69 stream(s -> s.sorted().distinct().boxed()). in testOpSorted()
|
D | StreamSpliteratorTest.java | 331 s -> s.sorted()); in streamFunctions() 424 s -> s.sorted()); in intStreamFunctions() 517 s -> s.sorted()); in longStreamFunctions() 610 s -> s.sorted()); in doubleStreamFunctions()
|
D | IntSliceOpTest.java | 184 exerciseOps(IntStream.range(1, 101).map(i -> 101 - i).toArray(), s -> s.limit(10).sorted()); in testLimitSort()
|
D | SliceOpTest.java | 320 exerciseOps(l, s -> s.limit(10).sorted(Comparator.naturalOrder()));
|
/libcore/tools/upstream/ |
D | upstream-diff | 87 repositories = ['ojluni'] + sorted(
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Stream.java | 375 Stream<T> sorted(); in sorted() method 392 Stream<T> sorted(Comparator<? super T> comparator); in sorted() method
|
D | DoubleStream.java | 193 DoubleStream sorted(); in sorted() method
|
D | IntStream.java | 186 IntStream sorted(); in sorted() method
|
D | LongStream.java | 191 LongStream sorted(); in sorted() method
|
D | ReferencePipeline.java | 405 public final Stream<P_OUT> sorted() { 410 public final Stream<P_OUT> sorted(Comparator<? super P_OUT> comparator) {
|
D | DoublePipeline.java | 371 public final DoubleStream sorted() {
|
D | IntPipeline.java | 406 public final IntStream sorted() {
|
D | LongPipeline.java | 387 public final LongStream sorted() {
|
/libcore/tools/docs/crypto/ |
D | update_crypto_support.py | 84 return sorted(seq, key=lambda x: x['name'])
|
D | format_supported_algorithm_table.py | 33 return sorted(seq, key=lambda x: x['name'])
|
/libcore/luni/src/test/java/libcore/libcore/timezone/ |
D | TimeZoneFinderTest.java | 978 return value.stream().sorted() in sort()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | CollectionsTest.java | 617 boolean sorted = true; in testShuffle() 629 sorted = false; in testShuffle() 633 + " list resulted in sorted list (should be unlikely)", sorted); in testShuffle()
|