Home
last modified time | relevance | path

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

1234

/libcore/ojluni/src/main/java/java/util/stream/
DPipelineHelper.java94 abstract<P_IN> long exactOutputSizeIfKnown(Spliterator<P_IN> spliterator); in exactOutputSizeIfKnown()
110 abstract<P_IN, S extends Sink<P_OUT>> S wrapAndCopyInto(S sink, Spliterator<P_IN> spliterator); in wrapAndCopyInto()
127 abstract<P_IN> void copyInto(Sink<P_IN> wrappedSink, Spliterator<P_IN> spliterator); in copyInto()
143 abstract <P_IN> void copyIntoWithCancel(Sink<P_IN> wrappedSink, Spliterator<P_IN> spliterator); in copyIntoWithCancel()
165 abstract<P_IN> Spliterator<P_OUT> wrapSpliterator(Spliterator<P_IN> spliterator); in wrapSpliterator()
205 public abstract<P_IN> Node<P_OUT> evaluate(Spliterator<P_IN> spliterator, in evaluate()
DAbstractPipeline.java344 public Spliterator<E_OUT> spliterator() { in spliterator() method in AbstractPipeline
400 Spliterator<?> spliterator = null; in sourceSpliterator() local
469 final <P_IN> long exactOutputSizeIfKnown(Spliterator<P_IN> spliterator) { in exactOutputSizeIfKnown()
474 final <P_IN, S extends Sink<E_OUT>> S wrapAndCopyInto(S sink, Spliterator<P_IN> spliterator) { in wrapAndCopyInto()
475 copyInto(wrapSink(Objects.requireNonNull(sink)), spliterator); in wrapAndCopyInto() local
480 final <P_IN> void copyInto(Sink<P_IN> wrappedSink, Spliterator<P_IN> spliterator) { in copyInto()
495 final <P_IN> void copyIntoWithCancel(Sink<P_IN> wrappedSink, Spliterator<P_IN> spliterator) { in copyIntoWithCancel()
542 public final <P_IN> Node<E_OUT> evaluate(Spliterator<P_IN> spliterator, in evaluate()
582 Spliterator<P_IN> spliterator, in evaluateToNode()
617 public abstract void 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()
DAbstractTask.java106 protected Spliterator<P_IN> spliterator; field in AbstractTask
137 Spliterator<P_IN> spliterator) { in AbstractTask()
152 Spliterator<P_IN> spliterator) { in AbstractTask()
168 protected abstract K makeChild(Spliterator<P_IN> spliterator); in makeChild()
DForEachOps.java150 Spliterator<S> spliterator) { in evaluateSequential()
156 Spliterator<S> spliterator) { in evaluateParallel()
255 private Spliterator<S> spliterator; field in ForEachOps.ForEachTask
261 Spliterator<S> spliterator, in ForEachTask()
270 ForEachTask(ForEachTask<S, T> parent, Spliterator<S> spliterator) { in ForEachTask()
366 private Spliterator<S> spliterator; field in ForEachOps.ForEachOrderedTask
374 Spliterator<S> spliterator, in ForEachOrderedTask()
387 Spliterator<S> spliterator, in ForEachOrderedTask()
DFindOps.java151 Spliterator<S> spliterator) { in evaluateSequential()
158 Spliterator<P_IN> spliterator) { in evaluateParallel()
256 Spliterator<P_IN> spliterator) { in FindTask()
261 FindTask(FindTask<P_IN, P_OUT, O> parent, Spliterator<P_IN> spliterator) { in FindTask()
267 protected FindTask<P_IN, P_OUT, O> 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.java317 Spliterator<P_IN> spliterator, in collect()
355 Spliterator<P_IN> spliterator, in collectInt()
393 Spliterator<P_IN> spliterator, in collectLong()
431 Spliterator<P_IN> spliterator, in collectDouble()
580 public Spliterator<T> spliterator() { in spliterator() method in Nodes.EmptyNode.OfRef
592 public Spliterator.OfInt spliterator() { in spliterator() method in Nodes.EmptyNode.OfInt
609 public Spliterator.OfLong spliterator() { in spliterator() method in Nodes.EmptyNode.OfLong
626 public Spliterator.OfDouble spliterator() { in spliterator() method in Nodes.EmptyNode.OfDouble
658 public Spliterator<T> spliterator() { in spliterator() method in Nodes.ArrayNode
708 public Spliterator<T> spliterator() { in spliterator() method in Nodes.CollectionNode
[all …]
DLongPipeline.java141 Spliterator<P_IN> spliterator, in evaluateToNode()
164 public final void forEachWithCancel(Spliterator<Long> spliterator, Sink<Long> sink) { in forEachWithCancel()
185 public final Spliterator.OfLong spliterator() { in spliterator() method in LongPipeline
DIntPipeline.java143 Spliterator<P_IN> spliterator, in evaluateToNode()
166 public final void forEachWithCancel(Spliterator<Integer> spliterator, Sink<Integer> sink) { in forEachWithCancel()
188 public final Spliterator.OfInt spliterator() { in spliterator() method in IntPipeline
DDoublePipeline.java140 Spliterator<P_IN> spliterator, in evaluateToNode()
163 public final void forEachWithCancel(Spliterator<Double> spliterator, Sink<Double> sink) { in forEachWithCancel()
184 public final Spliterator.OfDouble spliterator() { in spliterator() method in DoublePipeline
DNode.java71 Spliterator<T> spliterator(); in spliterator() method
237 T_SPLITR spliterator(); in spliterator() method
361 Spliterator.OfInt spliterator = spliterator(); in truncate() local
434 Spliterator.OfLong spliterator = spliterator(); in truncate() local
509 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.java110 Spliterator<P_IN> spliterator, in evaluateToNode()
132 public final void forEachWithCancel(Spliterator<P_OUT> spliterator, Sink<P_OUT> sink) { in forEachWithCancel()
/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.java101 default Spliterator<T> spliterator() { in spliterator() method

1234