Searched defs:forEach (Results 1 - 25 of 30) sorted by relevance

12

/libcore/ojluni/src/main/java/java/lang/
H A DIterable.java73 default void forEach(Consumer<? super T> action) { method in interface:Iterable
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DConcurrentMap.java112 default void forEach(BiConsumer<? super K, ? super V> action) { method in interface:ConcurrentMap
289 forEach((k,v) -> {
H A DCopyOnWriteArraySet.java419 public void forEach(Consumer<? super E> action) { method in class:CopyOnWriteArraySet
420 al.forEach(action);
H A DCopyOnWriteArrayList.java833 public void forEach(Consumer<? super E> action) { method in class:CopyOnWriteArrayList
1309 public void forEach(Consumer<? super E> action) { method in class:CopyOnWriteArrayList.COWSubList
/libcore/ojluni/src/main/java/java/util/stream/
H A DNode.java39 * via the {@link #count}, {@link #spliterator}, {@link #forEach},
80 void forEach(Consumer<? super T> consumer); method in interface:Node
246 void forEach(T_CONS action); method in interface:Node.OfPrimitive
325 default void forEach(Consumer<? super Integer> consumer) { method in interface:Node.OfInt
327 forEach((IntConsumer) consumer);
398 default void forEach(Consumer<? super Long> consumer) { method in interface:Node.OfLong
400 forEach((LongConsumer) consumer);
471 default void forEach(Consumer<? super Double> consumer) { method in interface:Node.OfDouble
473 forEach((DoubleConsumer) consumer);
H A DDoubleStream.java296 void forEach(DoubleConsumer action); method in interface:DoubleStream
308 * @see #forEach(DoubleConsumer)
H A DSpinedBuffer.java243 public void forEach(Consumer<? super E> consumer) { method in class:SpinedBuffer
270 forEach(list::add);
470 public abstract void forEach(Consumer<? super E> consumer); method in class:SpinedBuffer.OfPrimitive
589 public void forEach(T_CONS consumer) { method in class:SpinedBuffer.OfPrimitive
735 public void forEach(Consumer<? super Integer> consumer) { method in class:SpinedBuffer.OfInt
737 forEach((IntConsumer) consumer);
741 Tripwire.trip(getClass(), "{0} calling SpinedBuffer.OfInt.forEach(Consumer)");
849 public void forEach(Consumer<? super Long> consumer) { method in class:SpinedBuffer.OfLong
851 forEach((LongConsumer) consumer);
855 Tripwire.trip(getClass(), "{0} calling SpinedBuffer.OfLong.forEach(Consume
965 public void forEach(Consumer<? super Double> consumer) { method in class:SpinedBuffer.OfDouble
[all...]
H A DStream.java80 * as {@link Stream#count()} or {@link Stream#forEach(Consumer)}).
495 void forEach(Consumer<? super T> action); method in interface:Stream
512 * @see #forEach(Consumer)
H A DDoublePipeline.java271 // We can do better that this too; optimize for depth=0 case and just grab spliterator and forEach it
273 result.sequential().forEach(i -> downstream.accept(i));
370 public void forEach(DoubleConsumer consumer) { method in class:DoublePipeline
560 public void forEach(DoubleConsumer consumer) { method in class:DoublePipeline.Head
565 super.forEach(consumer);
H A DIntPipeline.java307 // We can do better that this too; optimize for depth=0 case and just grab spliterator and forEach it
309 result.sequential().forEach(i -> downstream.accept(i));
404 public void forEach(IntConsumer action) { method in class:IntPipeline
557 public void forEach(IntConsumer action) { method in class:IntPipeline.Head
562 super.forEach(action);
H A DIntStream.java291 void forEach(IntConsumer action); method in interface:IntStream
303 * @see #forEach(IntConsumer)
H A DLongPipeline.java288 // We can do better that this too; optimize for depth=0 case and just grab spliterator and forEach it
290 result.sequential().forEach(i -> downstream.accept(i));
385 public void forEach(LongConsumer action) { method in class:LongPipeline
540 public void forEach(LongConsumer action) { method in class:LongPipeline.Head
544 super.forEach(action);
H A DLongStream.java295 void forEach(LongConsumer action); method in interface:LongStream
307 * @see #forEach(LongConsumer)
H A DReferencePipeline.java269 // We can do better that this too; optimize for depth=0 case and just grab spliterator and forEach it
271 result.sequential().forEach(downstream);
297 // We can do better that this too; optimize for depth=0 case and just grab spliterator and forEach it
299 result.sequential().forEach(downstreamAsInt);
325 // We can do better that this too; optimize for depth=0 case and just grab spliterator and forEach it
327 result.sequential().forEach(downstreamAsDouble);
353 // We can do better that this too; optimize for depth=0 case and just grab spliterator and forEach it
355 result.sequential().forEach(downstreamAsLong);
418 public void forEach(Consumer<? super P_OUT> action) { method in class:ReferencePipeline
498 forEach(
581 public void forEach(Consumer<? super E_OUT> action) { method in class:ReferencePipeline.Head
[all...]
H A DStreamSpliterators.java1041 sb.forEach(action, acquirePermits(permitsRequested));
1116 sb.forEach(action, acquirePermits(permitsRequested));
1464 public void forEach(Consumer<? super T> action, long fence) { method in class:StreamSpliterators.ArrayBuffer.OfRef
1481 abstract void forEach(T_CONS action, long fence); method in class:StreamSpliterators.ArrayBuffer.OfPrimitive
1498 public void forEach(IntConsumer action, long fence) { method in class:StreamSpliterators.ArrayBuffer.OfInt
1519 public void forEach(LongConsumer action, long fence) { method in class:StreamSpliterators.ArrayBuffer.OfLong
1540 void forEach(DoubleConsumer action, long fence) { method in class:StreamSpliterators.ArrayBuffer.OfDouble
/libcore/ojluni/src/main/java/java/util/
H A DMap.java618 default void forEach(BiConsumer<? super K, ? super V> action) { method in interface:Map
H A DArrays.java3805 public void forEach(Consumer<? super E> action) { method in class:Arrays.ArrayList
4658 IntStream.range(0, array.length).parallel().forEach(i -> { array[i] = generator.apply(i); });
4696 IntStream.range(0, array.length).parallel().forEach(i -> { array[i] = generator.applyAsInt(i); });
4734 IntStream.range(0, array.length).parallel().forEach(i -> { array[i] = generator.applyAsLong(i); });
4772 IntStream.range(0, array.length).parallel().forEach(i -> { array[i] = generator.applyAsDouble(i); });
H A DLinkedHashMap.java587 public final void forEach(Consumer<? super K> action) { method in class:LinkedHashMap.LinkedKeySet
637 public final void forEach(Consumer<? super V> action) { method in class:LinkedHashMap.LinkedValues
701 public final void forEach(Consumer<? super Map.Entry<K,V>> action) { method in class:LinkedHashMap.LinkedEntrySet
715 public void forEach(BiConsumer<? super K, ? super V> action) { method in class:LinkedHashMap
H A DArrayList.java1255 public void forEach(Consumer<? super E> action) { method in class:ArrayList
1266 // forEach will throw a CME in this case.
1308 * ConcurrentModificationException check at the end of forEach
1309 * (the most performance-sensitive method). When using forEach
1316 * of forEach to run without any further checks, and
1319 * list.stream().forEach(a), no checks or other computation
1320 * occur anywhere other than inside forEach itself. The other
1340 int hi; // (a specialized variant appears in method forEach)
H A DHashtable.java872 public synchronized void forEach(BiConsumer<? super K, ? super V> action) { method in class:Hashtable
H A DIdentityHashMap.java1343 public void forEach(BiConsumer<? super K, ? super V> action) { method in class:IdentityHashMap
H A DVector.java1252 public synchronized void forEach(Consumer<? super E> action) { method in class:Vector
H A DWeakHashMap.java1016 public void forEach(BiConsumer<? super K, ? super V> action) { method in class:WeakHashMap
H A DHashMap.java924 public final void forEach(Consumer<? super K> action) { method in class:HashMap.KeySet
973 public final void forEach(Consumer<? super V> action) { method in class:HashMap.Values
1037 public final void forEach(Consumer<? super Map.Entry<K,V>> action) { method in class:HashMap.EntrySet
1283 public void forEach(BiConsumer<? super K, ? super V> action) { method in class:HashMap
/libcore/ojluni/src/main/java/java/security/
H A DProvider.java634 public synchronized void forEach(BiConsumer<? super Object, ? super Object> action) { method in class:Provider
636 super.forEach(action);

Completed in 464 milliseconds

12