Home
last modified time | relevance | path

Searched refs:adapt (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/java/util/stream/
DDoublePipeline.java99 private static DoubleConsumer adapt(Sink<Double> sink) { in adapt() method in DoublePipeline
117 private static Spliterator.OfDouble adapt(Spliterator<Double> s) { in adapt() method in DoublePipeline
164 Spliterator.OfDouble spl = adapt(spliterator); in forEachWithCancel()
165 DoubleConsumer adaptedSink = adapt(sink); in forEachWithCancel()
185 return adapt(super.spliterator()); in spliterator()
582 adapt(sourceStageSpliterator()).forEachRemaining(consumer);
592 adapt(sourceStageSpliterator()).forEachRemaining(consumer);
DIntPipeline.java100 private static IntConsumer adapt(Sink<Integer> sink) { in adapt() method in IntPipeline
119 private static Spliterator.OfInt adapt(Spliterator<Integer> s) { in adapt() method in IntPipeline
167 Spliterator.OfInt spl = adapt(spliterator); in forEachWithCancel()
168 IntConsumer adaptedSink = adapt(sink); in forEachWithCancel()
189 return adapt(super.spliterator()); in spliterator()
580 adapt(sourceStageSpliterator()).forEachRemaining(action);
590 adapt(sourceStageSpliterator()).forEachRemaining(action);
DLongPipeline.java100 private static LongConsumer adapt(Sink<Long> sink) { in adapt() method in LongPipeline
118 private static Spliterator.OfLong adapt(Spliterator<Long> s) { in adapt() method in LongPipeline
165 Spliterator.OfLong spl = adapt(spliterator); in forEachWithCancel()
166 LongConsumer adaptedSink = adapt(sink); in forEachWithCancel()
186 return adapt(super.spliterator()); in spliterator()
563 adapt(sourceStageSpliterator()).forEachRemaining(action);
572 adapt(sourceStageSpliterator()).forEachRemaining(action);
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinTask.java1453 public static ForkJoinTask<?> adapt(Runnable runnable) { in adapt() method in ForkJoinTask
1467 public static <T> ForkJoinTask<T> adapt(Runnable runnable, T result) { in adapt() method in ForkJoinTask
1481 public static <T> ForkJoinTask<T> adapt(Callable<? extends T> callable) { in adapt() method in ForkJoinTask
/libcore/jsr166-tests/src/test/java/jsr166/
DForkJoinTask8Test.java1176 final ForkJoinTask a = ForkJoinTask.adapt(awaiter(done));
1177 final ForkJoinTask b = ForkJoinTask.adapt(awaiter(done));
1178 final ForkJoinTask c = ForkJoinTask.adapt(awaiter(done));