Home
last modified time | relevance | path

Searched refs:Spliterators (Results 1 – 25 of 55) sorted by relevance

123

/libcore/luni/src/test/java/libcore/java/util/
DSpliteratorsTest.java28 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/
DIterable.java30 import java.util.Spliterators;
101 return Spliterators.spliteratorUnknownSize(iterator(), 0); in spliterator()
DCharSequence.java31 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/
DDoubleStreamTestDataProvider.java28 import java.util.Spliterators;
119 … () -> Spliterators.spliterator(isl.iterator(), doubles.length, 0)));
121 … () -> Spliterators.spliteratorUnknownSize(isl.iterator(), 0)));
DIntStreamTestDataProvider.java28 import java.util.Spliterators;
124 … () -> Spliterators.spliterator(isl.iterator(), ints.length, 0)));
126 … () -> Spliterators.spliteratorUnknownSize(isl.iterator(), 0)));
DLongStreamTestDataProvider.java28 import java.util.Spliterators;
124 … () -> Spliterators.spliterator(isl.iterator(), longs.length, 0)));
126 … () -> Spliterators.spliteratorUnknownSize(isl.iterator(), 0)));
DStreamTestDataProvider.java28 import java.util.Spliterators;
160 … () -> Spliterators.spliterator(Arrays.asList(ints).iterator(), ints.length, 0)));
162 … () -> Spliterators.spliteratorUnknownSize(Arrays.asList(ints).iterator(), 0)));
DTestData.java30 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/
DDoubleStreamTestDataProvider.java28 import java.util.Spliterators;
124 … () -> Spliterators.spliterator(isl.iterator(), doubles.length, 0)));
126 … () -> Spliterators.spliteratorUnknownSize(isl.iterator(), 0)));
DIntStreamTestDataProvider.java28 import java.util.Spliterators;
128 … () -> Spliterators.spliterator(isl.iterator(), ints.length, 0)));
130 … () -> Spliterators.spliteratorUnknownSize(isl.iterator(), 0)));
DLongStreamTestDataProvider.java28 import java.util.Spliterators;
128 … () -> Spliterators.spliterator(isl.iterator(), longs.length, 0)));
130 … () -> Spliterators.spliteratorUnknownSize(isl.iterator(), 0)));
DStreamTestDataProvider.java28 import java.util.Spliterators;
166 … () -> Spliterators.spliterator(Arrays.asList(ints).iterator(), ints.length, 0)));
168 … () -> Spliterators.spliteratorUnknownSize(Arrays.asList(ints).iterator(), 0)));
DTestData.java30 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/
DDistinctOpTest.java39 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()
DSortedOpTest.java34 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/
DDoubleStream.java37 import java.util.Spliterators;
736 return StreamSupport.doubleStream(Spliterators.emptyDoubleSpliterator(), false); in empty()
792 return StreamSupport.doubleStream(Spliterators.spliteratorUnknownSize( in iterate()
DIntStream.java34 import java.util.Spliterators;
702 return StreamSupport.intStream(Spliterators.emptyIntSpliterator(), false); in empty()
758 return StreamSupport.intStream(Spliterators.spliteratorUnknownSize( in iterate()
DLongStream.java38 import java.util.Spliterators;
695 return StreamSupport.longStream(Spliterators.emptyLongSpliterator(), false); in empty()
751 return StreamSupport.longStream(Spliterators.spliteratorUnknownSize( in iterate()
DStream.java37 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/
DCopyOnWriteArraySet.java44 import java.util.Spliterators;
439 return Spliterators.spliterator in spliterator()
/libcore/ojluni/src/main/java/java/util/
DLinkedHashSet.java193 return Spliterators.spliterator(this, Spliterator.DISTINCT | Spliterator.ORDERED); in spliterator()
DSortedSet.java256 return new Spliterators.IteratorSpliterator<E>( in spliterator()
DCollection.java562 return Spliterators.spliterator(this, 0); in spliterator()
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DDoubleNodeTest.java29 import java.util.Spliterators;
51 nodes.add(degenerateTree(Spliterators.iterator(Arrays.spliterator(array)))); in createSizes()
DLongNodeTest.java29 import java.util.Spliterators;
51 nodes.add(degenerateTree(Spliterators.iterator(Arrays.spliterator(array)))); in createSizes()

123