Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DStreamSpliteratorTest.java88 public boolean tryAdvance(Consumer<? super T> consumer) { in tryAdvance()
95 public void forEachRemaining(Consumer<? super T> consumer) { in forEachRemaining()
136 public boolean tryAdvance(Consumer<? super Integer> consumer) { in tryAdvance()
141 public void forEachRemaining(Consumer<? super Integer> consumer) { in forEachRemaining()
146 public boolean tryAdvance(IntConsumer consumer) { in tryAdvance()
153 public void forEachRemaining(IntConsumer consumer) { in forEachRemaining()
177 public boolean tryAdvance(Consumer<? super Long> consumer) { in tryAdvance()
182 public void forEachRemaining(Consumer<? super Long> consumer) { in forEachRemaining()
187 public boolean tryAdvance(LongConsumer consumer) { in tryAdvance()
194 public void forEachRemaining(LongConsumer consumer) { in forEachRemaining()
[all …]
DIntPrimitiveOpsTests.java157 AssertingConsumer consumer = new AssertingConsumer(expected); in testSequential() local
163 AssertingConsumer consumer = new AssertingConsumer(expected); in testSequential() local
DLongPrimitiveOpsTests.java157 AssertingConsumer consumer = new AssertingConsumer(expected); in testSequential() local
163 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.java175 final Consumer<? super T> consumer; field in ForEachOps.ForEachOp.OfRef
177 OfRef(Consumer<? super T> consumer, boolean ordered) { in OfRef()
191 final IntConsumer consumer; field in ForEachOps.ForEachOp.OfInt
193 OfInt(IntConsumer consumer, boolean ordered) { in OfInt()
212 final LongConsumer consumer; field in ForEachOps.ForEachOp.OfLong
214 OfLong(LongConsumer consumer, boolean ordered) { in OfLong()
233 final DoubleConsumer consumer; field in ForEachOps.ForEachOp.OfDouble
235 OfDouble(DoubleConsumer consumer, boolean ordered) { in OfDouble()
DNode.java81 void forEach(Consumer<? super T> consumer); in forEach()
326 default void forEach(Consumer<? super Integer> consumer) { in forEach()
399 default void forEach(Consumer<? super Long> consumer) { in forEach()
472 default void forEach(Consumer<? super Double> consumer) { in forEach()
DNodes.java572 public void forEach(T_CONS consumer) { } in forEach()
682 public void forEach(Consumer<? super T> consumer) { in forEach()
730 public void forEach(Consumer<? super T> consumer) { in forEach()
811 public void forEach(Consumer<? super T> consumer) { in forEach()
851 public void forEach(T_CONS consumer) { in forEach()
1066 public boolean tryAdvance(Consumer<? super T> consumer) { in tryAdvance()
1088 public void forEachRemaining(Consumer<? super T> consumer) { in forEachRemaining()
1120 public boolean tryAdvance(T_CONS consumer) { in tryAdvance()
1142 public void forEachRemaining(T_CONS consumer) { in forEachRemaining()
DStreamSpliterators.java298 public boolean tryAdvance(Consumer<? super P_OUT> consumer) { in tryAdvance()
307 public void forEachRemaining(Consumer<? super P_OUT> consumer) { in forEachRemaining()
356 public boolean tryAdvance(IntConsumer consumer) { in tryAdvance()
365 public void forEachRemaining(IntConsumer consumer) { in forEachRemaining()
414 public boolean tryAdvance(LongConsumer consumer) { in tryAdvance()
423 public void forEachRemaining(LongConsumer consumer) { in forEachRemaining()
472 public boolean tryAdvance(DoubleConsumer consumer) { in tryAdvance()
481 public void forEachRemaining(DoubleConsumer consumer) { in forEachRemaining()
525 public boolean tryAdvance(Consumer<? super T> consumer) { in tryAdvance()
530 public void forEachRemaining(Consumer<? super T> consumer) { in forEachRemaining()
[all …]
DStreams.java83 public boolean tryAdvance(IntConsumer consumer) { in tryAdvance()
101 public void forEachRemaining(IntConsumer consumer) { in forEachRemaining()
208 public boolean tryAdvance(LongConsumer consumer) { in tryAdvance()
226 public void forEachRemaining(LongConsumer consumer) { in forEachRemaining()
/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/ojluni/src/main/java/java/util/
DSplittableRandom.java858 public boolean tryAdvance(IntConsumer consumer) { in tryAdvance()
869 public void forEachRemaining(IntConsumer consumer) { in forEachRemaining()
914 public boolean tryAdvance(LongConsumer consumer) { in tryAdvance()
925 public void forEachRemaining(LongConsumer consumer) { in forEachRemaining()
971 public boolean tryAdvance(DoubleConsumer consumer) { in tryAdvance()
982 public void forEachRemaining(DoubleConsumer consumer) { in forEachRemaining()
DRandom.java1025 public boolean tryAdvance(IntConsumer consumer) { in tryAdvance()
1036 public void forEachRemaining(IntConsumer consumer) { in forEachRemaining()
1080 public boolean tryAdvance(LongConsumer consumer) { in tryAdvance()
1091 public void forEachRemaining(LongConsumer consumer) { in forEachRemaining()
1136 public boolean tryAdvance(DoubleConsumer consumer) { in tryAdvance()
1147 public void forEachRemaining(DoubleConsumer consumer) { in forEachRemaining()
DOptionalInt.java136 public void ifPresent(IntConsumer consumer) { in ifPresent()
DOptionalLong.java136 public void ifPresent(LongConsumer consumer) { in ifPresent()
DOptionalDouble.java136 public void ifPresent(DoubleConsumer consumer) { in ifPresent()
DOptional.java153 public void ifPresent(Consumer<? super T> consumer) { in ifPresent()
DArrayDeque.java952 public void forEachRemaining(Consumer<? super E> consumer) { in forEachRemaining()
967 public boolean tryAdvance(Consumer<? super E> consumer) { in tryAdvance()
DArrayList.java890 public void forEachRemaining(Consumer<? super E> consumer) { in forEachRemaining()
1163 public void forEachRemaining(Consumer<? super E> consumer) { in listIterator()
DSpliterators.java844 public boolean tryAdvance(C consumer) { in tryAdvance()
849 public void forEachRemaining(C consumer) { in forEachRemaining()
/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadLocalRandom.java767 public boolean tryAdvance(IntConsumer consumer) { in tryAdvance()
778 public void forEachRemaining(IntConsumer consumer) { in forEachRemaining()
822 public boolean tryAdvance(LongConsumer consumer) { in tryAdvance()
833 public void forEachRemaining(LongConsumer consumer) { in forEachRemaining()
878 public boolean tryAdvance(DoubleConsumer consumer) { in tryAdvance()
889 public void forEachRemaining(DoubleConsumer consumer) { in forEachRemaining()
/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/libart/src/main/java/dalvik/system/
DVMRuntime.java730 public static void setNonSdkApiUsageConsumer(Consumer<String> consumer) { in setNonSdkApiUsageConsumer()