/libcore/luni/src/test/java/libcore/java/util/ |
D | SpliteratorsTest.java | 28 import java.util.Spliterators; 37 Spliterator.OfInt empty = Spliterators.emptyIntSpliterator(); in testEmptyIntSpliterator() 54 Spliterator<Object> empty = Spliterators.emptySpliterator(); in testEmptyRefSpliterator() 67 Spliterator.OfLong empty = Spliterators.emptyLongSpliterator(); in testEmptyLongSpliterator() 84 Spliterator.OfDouble empty = Spliterators.emptyDoubleSpliterator(); in testEmptyDoubleSpliterator() 104 Spliterator<String> sp = Spliterators.spliterator(array, 0); in testSpliteratorObjectArray() 108 sp = Spliterators.spliterator(array, 0); in testSpliteratorObjectArray() 111 sp = Spliterators.spliterator(array, 0); in testSpliteratorObjectArray() 114 sp = Spliterators.spliterator(array, 0); in testSpliteratorObjectArray() 117 sp = Spliterators.spliterator(array, 0); in testSpliteratorObjectArray() [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Iterable.java | 30 import java.util.Spliterators; 101 return Spliterators.spliteratorUnknownSize(iterator(), 0); in spliterator()
|
D | CharSequence.java | 31 import java.util.Spliterators; 155 Spliterators.spliterator( in chars() 228 Spliterators.spliteratorUnknownSize( in codePoints()
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | DoubleStreamTestDataProvider.java | 28 import java.util.Spliterators; 119 … () -> Spliterators.spliterator(isl.iterator(), doubles.length, 0))); 121 … () -> Spliterators.spliteratorUnknownSize(isl.iterator(), 0)));
|
D | IntStreamTestDataProvider.java | 28 import java.util.Spliterators; 124 … () -> Spliterators.spliterator(isl.iterator(), ints.length, 0))); 126 … () -> Spliterators.spliteratorUnknownSize(isl.iterator(), 0)));
|
D | LongStreamTestDataProvider.java | 28 import java.util.Spliterators; 124 … () -> Spliterators.spliterator(isl.iterator(), longs.length, 0))); 126 … () -> Spliterators.spliteratorUnknownSize(isl.iterator(), 0)));
|
D | StreamTestDataProvider.java | 28 import java.util.Spliterators; 160 … () -> Spliterators.spliterator(Arrays.asList(ints).iterator(), ints.length, 0))); 162 … () -> Spliterators.spliteratorUnknownSize(Arrays.asList(ints).iterator(), 0)));
|
D | TestData.java | 30 import java.util.Spliterators; 48 return Spliterators.iterator(spliterator()); in iterator() 295 return Spliterators.iterator(spliterator()); in iterator() 320 return Spliterators.iterator(spliterator()); in iterator() 345 return Spliterators.iterator(spliterator()); in iterator()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | DoubleStreamTestDataProvider.java | 28 import java.util.Spliterators; 124 … () -> Spliterators.spliterator(isl.iterator(), doubles.length, 0))); 126 … () -> Spliterators.spliteratorUnknownSize(isl.iterator(), 0)));
|
D | IntStreamTestDataProvider.java | 28 import java.util.Spliterators; 128 … () -> Spliterators.spliterator(isl.iterator(), ints.length, 0))); 130 … () -> Spliterators.spliteratorUnknownSize(isl.iterator(), 0)));
|
D | LongStreamTestDataProvider.java | 28 import java.util.Spliterators; 128 … () -> Spliterators.spliterator(isl.iterator(), longs.length, 0))); 130 … () -> Spliterators.spliteratorUnknownSize(isl.iterator(), 0)));
|
D | StreamTestDataProvider.java | 28 import java.util.Spliterators; 166 … () -> Spliterators.spliterator(Arrays.asList(ints).iterator(), ints.length, 0))); 168 … () -> Spliterators.spliteratorUnknownSize(Arrays.asList(ints).iterator(), 0)));
|
D | TestData.java | 30 import java.util.Spliterators; 49 return Spliterators.iterator(spliterator()); in iterator() 296 return Spliterators.iterator(spliterator()); in iterator() 321 return Spliterators.iterator(spliterator()); in iterator() 346 return Spliterators.iterator(spliterator()); in iterator()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | DistinctOpTest.java | 39 import java.util.Spliterators; 122 …c -> StreamSupport.stream(Spliterators.spliterator(c.toArray(), Spliterator.ORDERED | Spliterator.… in SortedTestData() 123 …c -> StreamSupport.stream(Spliterators.spliterator(c.toArray(), Spliterator.ORDERED | Spliterator.… in SortedTestData() 124 … c -> Spliterators.spliterator(c.toArray(), Spliterator.ORDERED | Spliterator.SORTED), in SortedTestData()
|
D | SortedOpTest.java | 34 import java.util.Spliterators; 169 return StreamSupport.stream(Spliterators.spliteratorUnknownSize(l.iterator(), 0), false); in unknownSizeStream() 246 …return StreamSupport.intStream(Spliterators.spliteratorUnknownSize(Spliterators.iterator(Arrays.sp… in unknownSizeIntStream() 294 …return StreamSupport.longStream(Spliterators.spliteratorUnknownSize(Spliterators.iterator(Arrays.s… in unknownSizeLongStream() 342 …return StreamSupport.doubleStream(Spliterators.spliteratorUnknownSize(Spliterators.iterator(Arrays… in unknownSizeDoubleStream()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | DoubleStream.java | 37 import java.util.Spliterators; 736 return StreamSupport.doubleStream(Spliterators.emptyDoubleSpliterator(), false); in empty() 792 return StreamSupport.doubleStream(Spliterators.spliteratorUnknownSize( in iterate()
|
D | IntStream.java | 34 import java.util.Spliterators; 702 return StreamSupport.intStream(Spliterators.emptyIntSpliterator(), false); in empty() 758 return StreamSupport.intStream(Spliterators.spliteratorUnknownSize( in iterate()
|
D | LongStream.java | 38 import java.util.Spliterators; 695 return StreamSupport.longStream(Spliterators.emptyLongSpliterator(), false); in empty() 751 return StreamSupport.longStream(Spliterators.spliteratorUnknownSize( in iterate()
|
D | Stream.java | 37 import java.util.Spliterators; 976 return StreamSupport.stream(Spliterators.<T>emptySpliterator(), false); in empty() 1036 return StreamSupport.stream(Spliterators.spliteratorUnknownSize( in iterate()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | CopyOnWriteArraySet.java | 44 import java.util.Spliterators; 439 return Spliterators.spliterator in spliterator()
|
/libcore/ojluni/src/main/java/java/util/ |
D | LinkedHashSet.java | 193 return Spliterators.spliterator(this, Spliterator.DISTINCT | Spliterator.ORDERED); in spliterator()
|
D | SortedSet.java | 256 return new Spliterators.IteratorSpliterator<E>( in spliterator()
|
D | Collection.java | 562 return Spliterators.spliterator(this, 0); in spliterator()
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | DoubleNodeTest.java | 29 import java.util.Spliterators; 51 nodes.add(degenerateTree(Spliterators.iterator(Arrays.spliterator(array)))); in createSizes()
|
D | LongNodeTest.java | 29 import java.util.Spliterators; 51 nodes.add(degenerateTree(Spliterators.iterator(Arrays.spliterator(array)))); in createSizes()
|