Searched defs:action (Results 51 - 57 of 57) sorted by relevance

123

/libcore/ojluni/src/main/java/java/util/
H A DHashMap.java924 public final void forEach(Consumer<? super K> action) { argument
926 if (action == null)
933 action.accept(e.key);
973 public final void forEach(Consumer<? super V> action) { argument
975 if (action == null)
982 action.accept(e.value);
1037 public final void forEach(Consumer<? super Map.Entry<K,V>> action) { argument
1039 if (action == null)
1046 action.accept(e);
1283 public void forEach(BiConsumer<? super K, ? super V> action) { argument
1532 forEachRemaining(Consumer<? super K> action) argument
1561 tryAdvance(Consumer<? super K> action) argument
1604 forEachRemaining(Consumer<? super V> action) argument
1633 tryAdvance(Consumer<? super V> action) argument
1675 forEachRemaining(Consumer<? super Map.Entry<K,V>> action) argument
1704 tryAdvance(Consumer<? super Map.Entry<K,V>> action) argument
[all...]
H A DTreeMap.java1002 public void forEach(BiConsumer<? super K, ? super V> action) { argument
1003 Objects.requireNonNull(action);
1006 action.accept(e.key, e.value);
1794 public void forEachRemaining(Consumer<? super K> action) { argument
1796 action.accept(next());
1798 public boolean tryAdvance(Consumer<? super K> action) { argument
1800 action.accept(next());
1832 public void forEachRemaining(Consumer<? super K> action) { argument
1834 action.accept(next());
1836 public boolean tryAdvance(Consumer<? super K> action) { argument
2767 forEachRemaining(Consumer<? super K> action) argument
2791 tryAdvance(Consumer<? super K> action) argument
2845 forEachRemaining(Consumer<? super K> action) argument
2869 tryAdvance(Consumer<? super K> action) argument
2918 forEachRemaining(Consumer<? super V> action) argument
2942 tryAdvance(Consumer<? super V> action) argument
2990 forEachRemaining(Consumer<? super Map.Entry<K, V>> action) argument
3014 tryAdvance(Consumer<? super Map.Entry<K,V>> action) argument
[all...]
H A DCollections.java1089 public void forEachRemaining(Consumer<? super E> action) {
1091 i.forEachRemaining(action);
1121 public void forEach(Consumer<? super E> action) { argument
1122 c.forEach(action);
1401 public void forEachRemaining(Consumer<? super E> action) {
1402 i.forEachRemaining(action);
1546 public void forEach(BiConsumer<? super K, ? super V> action) { argument
1547 m.forEach(action);
1616 static <K, V> Consumer<Map.Entry<K, V>> entryConsumer(Consumer<? super Entry<K, V>> action) { argument
1617 return e -> action
1620 forEach(Consumer<? super Entry<K, V>> action) argument
1634 tryAdvance(Consumer<? super Entry<K, V>> action) argument
1640 forEachRemaining(Consumer<? super Entry<K, V>> action) argument
2690 forEach(BiConsumer<? super K, ? super V> action) argument
3167 forEach(Consumer<? super E> action) argument
3700 forEach(BiConsumer<? super K, ? super V> action) argument
4240 forEachRemaining(Consumer<? super E> action) argument
4380 forEach(Consumer<? super E> action) argument
4526 forEach(Consumer<? super E> action) argument
4645 forEach(BiConsumer<? super K, ? super V> action) argument
4814 forEach(Consumer<? super E> action) argument
4869 forEach(Consumer<? super E> action) argument
4957 forEach(BiConsumer<? super K, ? super V> action) argument
5523 forEach(Consumer<? super E> action) argument
5600 forEach(Consumer<? super E> action) argument
[all...]
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DCompletableFuture.java140 * classes for each kind of action, grouped into single-input
162 * action is triggerable, and then either runs the action or
179 * not async and x is already complete, the action is run
186 * shared so that at most one performs the action. The
196 * atomically pops each dependent action, and tries to trigger it
440 * Performs completion action if triggered, returning a
518 CompletableFuture<T> src; // source for action
526 * Returns true if action can be run. Call only when known to
529 * later call to tryFire will run action
2022 thenAccept(Consumer<? super T> action) argument
2026 thenAcceptAsync(Consumer<? super T> action) argument
2030 thenAcceptAsync(Consumer<? super T> action, Executor executor) argument
2035 thenRun(Runnable action) argument
2039 thenRunAsync(Runnable action) argument
2043 thenRunAsync(Runnable action, Executor executor) argument
2066 thenAcceptBoth( CompletionStage<? extends U> other, BiConsumer<? super T, ? super U> action) argument
2072 thenAcceptBothAsync( CompletionStage<? extends U> other, BiConsumer<? super T, ? super U> action) argument
2078 thenAcceptBothAsync( CompletionStage<? extends U> other, BiConsumer<? super T, ? super U> action, Executor executor) argument
2084 runAfterBoth(CompletionStage<?> other, Runnable action) argument
2089 runAfterBothAsync(CompletionStage<?> other, Runnable action) argument
2094 runAfterBothAsync(CompletionStage<?> other, Runnable action, Executor executor) argument
2116 acceptEither( CompletionStage<? extends T> other, Consumer<? super T> action) argument
2121 acceptEitherAsync( CompletionStage<? extends T> other, Consumer<? super T> action) argument
2126 acceptEitherAsync( CompletionStage<? extends T> other, Consumer<? super T> action, Executor executor) argument
2132 runAfterEither(CompletionStage<?> other, Runnable action) argument
2137 runAfterEitherAsync(CompletionStage<?> other, Runnable action) argument
2142 runAfterEitherAsync(CompletionStage<?> other, Runnable action, Executor executor) argument
2164 whenComplete( BiConsumer<? super T, ? super Throwable> action) argument
2169 whenCompleteAsync( BiConsumer<? super T, ? super Throwable> action) argument
2174 whenCompleteAsync( BiConsumer<? super T, ? super Throwable> action, Executor executor) argument
2691 final Runnable action; field in class:CompletableFuture.TaskSubmitter
2692 TaskSubmitter(Executor executor, Runnable action) argument
[all...]
H A DConcurrentSkipListMap.java268 * the base-level action, to add or remove index nodes. This adds
3170 public boolean tryAdvance(Consumer<? super T> action) { argument
3172 action.accept(next());
3178 public void forEachRemaining(Consumer<? super T> action) { argument
3180 action.accept(next());
3230 public void forEach(BiConsumer<? super K, ? super V> action) { argument
3231 if (action == null) throw new NullPointerException();
3235 action.accept(n.key, v);
3348 public void forEachRemaining(Consumer<? super K> action) { argument
3349 if (action
3363 tryAdvance(Consumer<? super K> action) argument
3436 forEachRemaining(Consumer<? super V> action) argument
3453 tryAdvance(Consumer<? super V> action) argument
3523 forEachRemaining(Consumer<? super Map.Entry<K,V>> action) argument
3541 tryAdvance(Consumer<? super Map.Entry<K,V>> action) argument
[all...]
H A DConcurrentHashMap.java169 * <li>forEach: Performs a given action on each element.
171 * before performing the action.
1607 public void forEach(BiConsumer<? super K, ? super V> action) { argument
1608 if (action == null) throw new NullPointerException();
1613 action.accept(p.key, p.val);
3584 public void forEachRemaining(Consumer<? super K> action) { argument
3585 if (action == null) throw new NullPointerException();
3587 action.accept(p.key);
3590 public boolean tryAdvance(Consumer<? super K> action) { argument
3591 if (action
3623 forEachRemaining(Consumer<? super V> action) argument
3629 tryAdvance(Consumer<? super V> action) argument
3663 forEachRemaining(Consumer<? super Map.Entry<K,V>> action) argument
3669 tryAdvance(Consumer<? super Map.Entry<K,V>> action) argument
3712 forEach(long parallelismThreshold, BiConsumer<? super K,? super V> action) argument
3733 forEach(long parallelismThreshold, BiFunction<? super K, ? super V, ? extends U> transformer, Consumer<? super U> action) argument
3879 forEachKey(long parallelismThreshold, Consumer<? super K> action) argument
3900 forEachKey(long parallelismThreshold, Function<? super K, ? extends U> transformer, Consumer<? super U> action) argument
4065 forEachValue(long parallelismThreshold, Consumer<? super V> action) argument
4087 forEachValue(long parallelismThreshold, Function<? super V, ? extends U> transformer, Consumer<? super U> action) argument
4251 forEachEntry(long parallelismThreshold, Consumer<? super Map.Entry<K,V>> action) argument
4271 forEachEntry(long parallelismThreshold, Function<Map.Entry<K,V>, ? extends U> transformer, Consumer<? super U> action) argument
4702 forEach(Consumer<? super K> action) argument
4764 forEach(Consumer<? super V> action) argument
4856 forEach(Consumer<? super Map.Entry<K,V>> action) argument
4972 final Consumer<? super K> action; field in class:ConcurrentHashMap.ForEachKeyTask
4973 ForEachKeyTask(BulkTask<K,V,?> p, int b, int i, int f, Node<K,V>[] t, Consumer<? super K> action) argument
4999 final Consumer<? super V> action; field in class:ConcurrentHashMap.ForEachValueTask
5000 ForEachValueTask(BulkTask<K,V,?> p, int b, int i, int f, Node<K,V>[] t, Consumer<? super V> action) argument
5026 final Consumer<? super Entry<K,V>> action; field in class:ConcurrentHashMap.ForEachEntryTask
5027 ForEachEntryTask(BulkTask<K,V,?> p, int b, int i, int f, Node<K,V>[] t, Consumer<? super Entry<K,V>> action) argument
5053 final BiConsumer<? super K, ? super V> action; field in class:ConcurrentHashMap.ForEachMappingTask
5054 ForEachMappingTask(BulkTask<K,V,?> p, int b, int i, int f, Node<K,V>[] t, BiConsumer<? super K,? super V> action) argument
5081 final Consumer<? super U> action; field in class:ConcurrentHashMap.ForEachTransformedKeyTask
5082 ForEachTransformedKeyTask(BulkTask<K,V,?> p, int b, int i, int f, Node<K,V>[] t, Function<? super K, ? extends U> transformer, Consumer<? super U> action) argument
5114 final Consumer<? super U> action; field in class:ConcurrentHashMap.ForEachTransformedValueTask
5115 ForEachTransformedValueTask(BulkTask<K,V,?> p, int b, int i, int f, Node<K,V>[] t, Function<? super V, ? extends U> transformer, Consumer<? super U> action) argument
5147 final Consumer<? super U> action; field in class:ConcurrentHashMap.ForEachTransformedEntryTask
5148 ForEachTransformedEntryTask(BulkTask<K,V,?> p, int b, int i, int f, Node<K,V>[] t, Function<Map.Entry<K,V>, ? extends U> transformer, Consumer<? super U> action) argument
5180 final Consumer<? super U> action; field in class:ConcurrentHashMap.ForEachTransformedMappingTask
5181 ForEachTransformedMappingTask(BulkTask<K,V,?> p, int b, int i, int f, Node<K,V>[] t, BiFunction<? super K, ? super V, ? extends U> transformer, Consumer<? super U> action) argument
[all...]
/libcore/benchmarks/src/benchmarks/regression/
H A DR.java1293 public static final int action = 0; field in class:R

Completed in 211 milliseconds

123