Home
last modified time | relevance | path

Searched defs:spliterator (Results 1 – 25 of 122) sorted by relevance

12345

/libcore/ojluni/src/main/java/java/util/stream/
DPipelineHelper.java95 abstract<P_IN> long exactOutputSizeIfKnown(Spliterator<P_IN> spliterator); in exactOutputSizeIfKnown()
111 abstract<P_IN, S extends Sink<P_OUT>> S wrapAndCopyInto(S sink, Spliterator<P_IN> spliterator); in wrapAndCopyInto()
128 abstract<P_IN> void copyInto(Sink<P_IN> wrappedSink, Spliterator<P_IN> spliterator); in copyInto()
145 … abstract <P_IN> boolean copyIntoWithCancel(Sink<P_IN> wrappedSink, Spliterator<P_IN> spliterator); in copyIntoWithCancel()
167 abstract<P_IN> Spliterator<P_OUT> wrapSpliterator(Spliterator<P_IN> spliterator); in wrapSpliterator()
207 public abstract<P_IN> Node<P_OUT> evaluate(Spliterator<P_IN> spliterator, in evaluate()
DAbstractPipeline.java347 public Spliterator<E_OUT> spliterator() { in spliterator() method in AbstractPipeline
403 Spliterator<?> spliterator = null; in sourceSpliterator() local
472 final <P_IN> long exactOutputSizeIfKnown(Spliterator<P_IN> spliterator) { in exactOutputSizeIfKnown()
502 final <P_IN, S extends Sink<E_OUT>> S wrapAndCopyInto(S sink, Spliterator<P_IN> spliterator) { in wrapAndCopyInto()
503 copyInto(wrapSink(Objects.requireNonNull(sink)), spliterator); in wrapAndCopyInto() local
508 final <P_IN> void copyInto(Sink<P_IN> wrappedSink, Spliterator<P_IN> spliterator) { in copyInto()
523 final <P_IN> boolean copyIntoWithCancel(Sink<P_IN> wrappedSink, Spliterator<P_IN> spliterator) { in copyIntoWithCancel()
572 public final <P_IN> Node<E_OUT> evaluate(Spliterator<P_IN> spliterator, in evaluate()
612 Spliterator<P_IN> spliterator, in evaluateToNode()
648 public abstract boolean forEachWithCancel(Spliterator<E_OUT> spliterator, Sink<E_OUT> sink); in forEachWithCancel()
[all …]
DStreamSupport.java67 public static <T> Stream<T> stream(Spliterator<T> spliterator, boolean parallel) { in stream()
137 public static IntStream intStream(Spliterator.OfInt spliterator, boolean parallel) { in intStream()
204 public static LongStream longStream(Spliterator.OfLong spliterator, in longStream()
272 public static DoubleStream doubleStream(Spliterator.OfDouble spliterator, in doubleStream()
DTerminalOp.java81 Spliterator<P_IN> spliterator) { in evaluateParallel()
97 Spliterator<P_IN> spliterator); in evaluateSequential()
DForEachOps.java149 Spliterator<S> spliterator) { in evaluateSequential()
155 Spliterator<S> spliterator) { in evaluateParallel()
254 private Spliterator<S> spliterator; field in ForEachOps.ForEachTask
260 Spliterator<S> spliterator, in ForEachTask()
269 ForEachTask(ForEachTask<S, T> parent, Spliterator<S> spliterator) { in ForEachTask()
365 private Spliterator<S> spliterator; field in ForEachOps.ForEachOrderedTask
373 Spliterator<S> spliterator, in ForEachOrderedTask()
386 Spliterator<S> spliterator, in ForEachOrderedTask()
DAbstractTask.java101 protected Spliterator<P_IN> spliterator; field in AbstractTask
132 Spliterator<P_IN> spliterator) { in AbstractTask()
147 Spliterator<P_IN> spliterator) { in AbstractTask()
179 protected abstract K makeChild(Spliterator<P_IN> spliterator); in makeChild()
DMatchOps.java229 Spliterator<S> spliterator) { in evaluateSequential()
235 Spliterator<S> spliterator) { in evaluateParallel()
286 Spliterator<P_IN> spliterator) { in MatchTask()
294 MatchTask(MatchTask<P_IN, P_OUT> parent, Spliterator<P_IN> spliterator) { in MatchTask()
300 protected MatchTask<P_IN, P_OUT> makeChild(Spliterator<P_IN> spliterator) { in makeChild()
DNodes.java325 Spliterator<P_IN> spliterator, in collect()
363 Spliterator<P_IN> spliterator, in collectInt()
401 Spliterator<P_IN> spliterator, in collectLong()
439 Spliterator<P_IN> spliterator, in collectDouble()
588 public Spliterator<T> spliterator() { in spliterator() method in Nodes.EmptyNode.OfRef
600 public Spliterator.OfInt spliterator() { in spliterator() method in Nodes.EmptyNode.OfInt
617 public Spliterator.OfLong spliterator() { in spliterator() method in Nodes.EmptyNode.OfLong
634 public Spliterator.OfDouble spliterator() { in spliterator() method in Nodes.EmptyNode.OfDouble
666 public Spliterator<T> spliterator() { in spliterator() method in Nodes.ArrayNode
716 public Spliterator<T> spliterator() { in spliterator() method in Nodes.CollectionNode
[all …]
DFindOps.java149 Spliterator<S> spliterator) { in evaluateSequential()
156 Spliterator<P_IN> spliterator) { in evaluateParallel()
288 Spliterator<P_IN> spliterator) { in FindTask()
294 FindTask(FindTask<P_IN, P_OUT, O> parent, Spliterator<P_IN> spliterator) { in FindTask()
301 protected FindTask<P_IN, P_OUT, O> makeChild(Spliterator<P_IN> spliterator) { in makeChild()
DNode.java71 Spliterator<T> spliterator(); in spliterator() method
241 T_SPLITR spliterator(); in spliterator() method
365 Spliterator.OfInt spliterator = spliterator(); in truncate() local
442 Spliterator.OfLong spliterator = spliterator(); in truncate() local
521 Spliterator.OfDouble spliterator = spliterator(); in truncate() local
DDistinctOps.java70 Spliterator<P_IN> spliterator, in makeRef()
105 …N> Spliterator<T> opEvaluateParallelLazy(PipelineHelper<T> helper, Spliterator<P_IN> spliterator) { in makeRef()
DAbstractShortCircuitTask.java69 Spliterator<P_IN> spliterator) { in AbstractShortCircuitTask()
82 Spliterator<P_IN> spliterator) { in AbstractShortCircuitTask()
DReferencePipeline.java114 Spliterator<P_IN> spliterator, in evaluateToNode()
136 public final boolean forEachWithCancel(Spliterator<P_OUT> spliterator, Sink<P_OUT> sink) { in forEachWithCancel()
DBaseStream.java92 Spliterator<T> spliterator(); in spliterator() method
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DStatefulTestOp.java46 Spliterator<P_IN> spliterator) { in chain()
52 Spliterator<P_IN> spliterator, in chain()
66 Spliterator<P_IN> spliterator) { in chain()
72 Spliterator<P_IN> spliterator, in chain()
DSpliteratorTestHelper.java153 Spliterator<T> spliterator = supplier.get(); in testSpliterator() local
202 S spliterator = supplier.get(); in testForEach() local
232 S spliterator = supplier.get(); in testTryAdvance() local
262 S spliterator = supplier.get(); in testMixedTryAdvanceForEach() local
293 S spliterator = supplier.get(); in testMixedTraverseAndSplit() local
336 Spliterator<T> spliterator = supplier.get(); in testSplitAfterFullTraversal() local
360 S spliterator = supplier.get(); in testSplitOnce() local
388 S spliterator = supplier.get(); in testSplitSixDeep() local
410 Spliterator spliterator, UnaryOperator boxingAdapter, in splitSixDeepVisitorUnsafe()
420 … List<T> dest, Spliterator<T> spliterator, UnaryOperator<Consumer<T>> boxingAdapter, in splitSixDeepVisitor()
DCollectorOps.java70 Spliterator<P_IN> spliterator, in opEvaluateParallel()
87 Spliterator<P_IN> spliterator, in opEvaluateParallel()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DStatefulTestOp.java47 Spliterator<P_IN> spliterator) { in chain()
53 Spliterator<P_IN> spliterator, in chain()
67 Spliterator<P_IN> spliterator) { in chain()
73 Spliterator<P_IN> spliterator, in chain()
DSpliteratorTestHelper.java153 Spliterator<T> spliterator = supplier.get(); in testSpliterator() local
202 S spliterator = supplier.get(); in testForEach() local
232 S spliterator = supplier.get(); in testTryAdvance() local
262 S spliterator = supplier.get(); in testMixedTryAdvanceForEach() local
293 S spliterator = supplier.get(); in testMixedTraverseAndSplit() local
336 Spliterator<T> spliterator = supplier.get(); in testSplitAfterFullTraversal() local
360 S spliterator = supplier.get(); in testSplitOnce() local
388 S spliterator = supplier.get(); in testSplitSixDeep() local
410 Spliterator spliterator, UnaryOperator boxingAdapter, in splitSixDeepVisitorUnsafe()
420 … List<T> dest, Spliterator<T> spliterator, UnaryOperator<Consumer<T>> boxingAdapter, in splitSixDeepVisitor()
DCollectorOps.java71 Spliterator<P_IN> spliterator, in opEvaluateParallel()
88 Spliterator<P_IN> spliterator, in opEvaluateParallel()
/libcore/luni/src/test/java/libcore/java/util/
DSpliteratorTester.java43 public static <T> void runBasicIterationTests(Spliterator<T> spliterator, in runBasicIterationTests()
61 public static <T> void runBasicIterationTests_unordered(Spliterator<T> spliterator, in runBasicIterationTests_unordered()
86 Spliterator<T> spliterator, ArrayList<T> recorder) { in recordAndAssertBasicIteration()
98 public static void testSpliteratorNPE(Spliterator<?> spliterator) { in testSpliteratorNPE()
117 public static <T> void runBasicSplitTests(Spliterator<T> spliterator, in runBasicSplitTests()
186 private static<T> List<T> toList(Spliterator<T> spliterator) { in toList()
234 public static <T> void runSizedTests(Spliterator<T> spliterator, int expectedSize) { in runSizedTests()
249 public static <T> void runSubSizedTests(Spliterator<T> spliterator, int expectedSize) { in runSubSizedTests()
276 Spliterator<T> spliterator = spliterable.spliterator(); in runDistinctTests() local
307 Spliterator<T> spliterator = spliterable.spliterator(); in runSortedTests() local
[all …]
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DIterable.annotated.java37 @NonNull public default Spliterator<T> spliterator() { throw new RuntimeException("Stub!"); } in spliterator() method
/libcore/ojluni/src/main/java/java/lang/
DIterable.java100 default Spliterator<T> spliterator() { in spliterator() method
/libcore/ojluni/src/main/java/java/util/
DSpliterators.java140 public static <T> Spliterator<T> spliterator(Object[] array, in spliterator() method in Spliterators
175 public static <T> Spliterator<T> spliterator(Object[] array, int fromIndex, int toIndex, in spliterator() method in Spliterators
204 public static Spliterator.OfInt spliterator(int[] array, in spliterator() method in Spliterators
237 public static Spliterator.OfInt spliterator(int[] array, int fromIndex, int toIndex, in spliterator() method in Spliterators
266 public static Spliterator.OfLong spliterator(long[] array, in spliterator() method in Spliterators
303 public static Spliterator.OfLong spliterator(long[] array, int fromIndex, int toIndex, in spliterator() method in Spliterators
332 public static Spliterator.OfDouble spliterator(double[] array, in spliterator() method in Spliterators
369 public static Spliterator.OfDouble spliterator(double[] array, int fromIndex, int toIndex, in spliterator() method in Spliterators
418 public static <T> Spliterator<T> spliterator(Collection<? extends T> c, in spliterator() method in Spliterators
448 public static <T> Spliterator<T> spliterator(Iterator<? extends T> iterator, in spliterator() method in Spliterators
[all …]
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/
DSpliteratorTestHelper.java154 Spliterator<T> spliterator = supplier.get(); in testSpliterator() local
250 S spliterator = supplier.get(); in testForEach() local
283 S spliterator = supplier.get(); in testTryAdvance() local
313 S spliterator = supplier.get(); in testMixedTryAdvanceForEach() local
344 S spliterator = supplier.get(); in testMixedTraverseAndSplit() local
387 Spliterator<T> spliterator = supplier.get(); in testSplitAfterFullTraversal() local
411 S spliterator = supplier.get(); in testSplitOnce() local
439 S spliterator = supplier.get(); in testSplitSixDeep() local
462 List<T> dest, S spliterator, UnaryOperator<Consumer<T>> boxingAdapter, in splitSixDeepVisitor()

12345