Home
last modified time | relevance | path

Searched defs:consumer (Results 1 – 18 of 18) sorted by relevance

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DStreamSpliteratorTest.java92 public boolean tryAdvance(Consumer<? super T> consumer) { in tryAdvance()
99 public void forEachRemaining(Consumer<? super T> consumer) { in forEachRemaining()
140 public boolean tryAdvance(Consumer<? super Integer> consumer) { in tryAdvance()
145 public void forEachRemaining(Consumer<? super Integer> consumer) { in forEachRemaining()
150 public boolean tryAdvance(IntConsumer consumer) { in tryAdvance()
157 public void forEachRemaining(IntConsumer consumer) { in forEachRemaining()
181 public boolean tryAdvance(Consumer<? super Long> consumer) { in tryAdvance()
186 public void forEachRemaining(Consumer<? super Long> consumer) { in forEachRemaining()
191 public boolean tryAdvance(LongConsumer consumer) { in tryAdvance()
198 public void forEachRemaining(LongConsumer consumer) { in forEachRemaining()
[all …]
DIntPrimitiveOpsTests.java217 AssertingConsumer consumer = new AssertingConsumer(expected); in testSequential() local
223 AssertingConsumer consumer = new AssertingConsumer(expected); in testSequential() local
DLongPrimitiveOpsTests.java205 AssertingConsumer consumer = new AssertingConsumer(expected); in testSequential() local
211 AssertingConsumer consumer = new AssertingConsumer(expected); in testSequential() local
/libcore/ojluni/src/main/java/java/util/stream/
DSpinedBuffer.java246 public void forEach(Consumer<? super E> consumer) { in forEach()
331 public boolean tryAdvance(Consumer<? super E> consumer) { in spliterator()
350 public void forEachRemaining(Consumer<? super E> consumer) { in spliterator()
472 public abstract void forEach(Consumer<? super E> consumer); in forEach()
485 T_CONS consumer); in arrayForEach()
591 public void forEach(T_CONS consumer) { in forEach()
635 abstract void arrayForOne(T_ARR array, int index, T_CONS consumer); in arrayForOne()
655 public boolean tryAdvance(T_CONS consumer) { in tryAdvance()
674 public void forEachRemaining(T_CONS consumer) { in forEachRemaining()
740 public void forEach(Consumer<? super Integer> consumer) { in forEach()
[all …]
DForEachOps.java174 final Consumer<? super T> consumer; field in ForEachOps.ForEachOp.OfRef
176 OfRef(Consumer<? super T> consumer, boolean ordered) { in OfRef()
190 final IntConsumer consumer; field in ForEachOps.ForEachOp.OfInt
192 OfInt(IntConsumer consumer, boolean ordered) { in OfInt()
211 final LongConsumer consumer; field in ForEachOps.ForEachOp.OfLong
213 OfLong(LongConsumer consumer, boolean ordered) { in OfLong()
232 final DoubleConsumer consumer; field in ForEachOps.ForEachOp.OfDouble
234 OfDouble(DoubleConsumer consumer, boolean ordered) { in OfDouble()
DNode.java81 void forEach(Consumer<? super T> consumer); in forEach()
330 default void forEach(Consumer<? super Integer> consumer) { in forEach()
407 default void forEach(Consumer<? super Long> consumer) { in forEach()
484 default void forEach(Consumer<? super Double> consumer) { in forEach()
DNodes.java580 public void forEach(T_CONS consumer) { } in forEach()
690 public void forEach(Consumer<? super T> consumer) { in forEach()
738 public void forEach(Consumer<? super T> consumer) { in forEach()
819 public void forEach(Consumer<? super T> consumer) { in forEach()
859 public void forEach(T_CONS consumer) { in forEach()
1074 public boolean tryAdvance(Consumer<? super T> consumer) { in tryAdvance()
1096 public void forEachRemaining(Consumer<? super T> consumer) { in forEachRemaining()
1128 public boolean tryAdvance(T_CONS consumer) { in tryAdvance()
1150 public void forEachRemaining(T_CONS consumer) { in forEachRemaining()
DStreamSpliterators.java296 public boolean tryAdvance(Consumer<? super P_OUT> consumer) { in tryAdvance()
305 public void forEachRemaining(Consumer<? super P_OUT> consumer) { in forEachRemaining()
354 public boolean tryAdvance(IntConsumer consumer) { in tryAdvance()
363 public void forEachRemaining(IntConsumer consumer) { in forEachRemaining()
412 public boolean tryAdvance(LongConsumer consumer) { in tryAdvance()
421 public void forEachRemaining(LongConsumer consumer) { in forEachRemaining()
470 public boolean tryAdvance(DoubleConsumer consumer) { in tryAdvance()
479 public void forEachRemaining(DoubleConsumer consumer) { in forEachRemaining()
523 public boolean tryAdvance(Consumer<? super T> consumer) { in tryAdvance()
528 public void forEachRemaining(Consumer<? super T> consumer) { in forEachRemaining()
[all …]
DStreams.java76 public boolean tryAdvance(IntConsumer consumer) { in tryAdvance()
95 public void forEachRemaining(IntConsumer consumer) { in forEachRemaining()
201 public boolean tryAdvance(LongConsumer consumer) { in tryAdvance()
219 public void forEachRemaining(LongConsumer consumer) { in forEachRemaining()
/libcore/ojluni/src/main/java/jdk/internal/util/random/
DRandomSupport.java983 public boolean tryAdvance(IntConsumer consumer) { in tryAdvance()
994 public void forEachRemaining(IntConsumer consumer) { in forEachRemaining()
1041 public boolean tryAdvance(LongConsumer consumer) { in tryAdvance()
1052 public void forEachRemaining(LongConsumer consumer) { in forEachRemaining()
1099 public boolean tryAdvance(DoubleConsumer consumer) { in tryAdvance()
1110 public void forEachRemaining(DoubleConsumer consumer) { in forEachRemaining()
1736 public boolean tryAdvance(IntConsumer consumer) { in tryAdvance()
1747 public void forEachRemaining(IntConsumer consumer) { in forEachRemaining()
1783 public boolean tryAdvance(LongConsumer consumer) { in tryAdvance()
1794 public void forEachRemaining(LongConsumer consumer) { in forEachRemaining()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/util/
DRandom.java237 public boolean tryAdvance(java.util.function.DoubleConsumer consumer) { in tryAdvance()
241 public void forEachRemaining(java.util.function.DoubleConsumer consumer) { in forEachRemaining()
291 public boolean tryAdvance(java.util.function.IntConsumer consumer) { in tryAdvance()
295 public void forEachRemaining(java.util.function.IntConsumer consumer) { in forEachRemaining()
346 public boolean tryAdvance(java.util.function.LongConsumer consumer) { in tryAdvance()
350 public void forEachRemaining(java.util.function.LongConsumer consumer) { in forEachRemaining()
DArrayDeque.java270 public void forEachRemaining(java.util.function.Consumer<? super E> consumer) { in forEachRemaining()
274 public boolean tryAdvance(java.util.function.Consumer<? super E> consumer) { in tryAdvance()
DArrayList.java303 public void forEachRemaining(java.util.function.Consumer<? super E> consumer) { in forEachRemaining()
DCollections.java2249 public void forEach(java.util.function.Consumer<? super E> consumer) { in forEach()
/libcore/luni/src/test/java/libcore/java/util/
DSpliteratorTester.java46 Consumer<T> consumer = (T value) -> recorder.add(value); in runBasicIterationTests() local
64 Consumer<T> consumer = (T value) -> recorder.add(value); in runBasicIterationTests_unordered() local
/libcore/ojluni/src/main/java/java/util/concurrent/
DSubmissionPublisher.java921 public CompletableFuture<Void> consume(Consumer<? super T> consumer) { in consume()
932 final Consumer<? super T> consumer; field in SubmissionPublisher.ConsumerSubscriber
935 Consumer<? super T> consumer) { in ConsumerSubscriber()
971 final BufferedSubscription<T> consumer; field in SubmissionPublisher.ConsumerTask
972 ConsumerTask(BufferedSubscription<T> consumer) { in ConsumerTask()
/libcore/libart/src/main/java/dalvik/system/
DVMRuntime.java1008 public static void setNonSdkApiUsageConsumer(Consumer<String> consumer) { in setNonSdkApiUsageConsumer()
/libcore/ojluni/src/main/java/java/util/
DSpliterators.java888 public boolean tryAdvance(C consumer) { in tryAdvance()
893 public void forEachRemaining(C consumer) { in forEachRemaining()