/libcore/ojluni/src/main/java/java/lang/ |
H A D | Iterable.java | 54 * Performs the given action for each element of the {@code Iterable} 55 * until all elements have been processed or the action throws an 58 * is specified). Exceptions thrown by the action are relayed to the 65 * action.accept(t); 68 * @param action The action to be performed for each element 69 * @throws NullPointerException if the specified action is null 72 default void forEach(Consumer<? super T> action) { argument 73 Objects.requireNonNull(action); 75 action [all...] |
/libcore/ojluni/src/main/java/sun/security/action/ |
H A D | GetBooleanAction.java | 26 package sun.security.action; 30 * as a privileged action. 36 * property named <code>"prop"</code> as a privileged action: <p>
|
H A D | GetPropertyAction.java | 26 package sun.security.action; 30 * property as a privileged action. 36 * property named <code>"prop"</code> as a privileged action: <p>
|
H A D | LoadLibraryAction.java | 26 package sun.security.action; 29 * A convenience class for loading a system library as a privileged action. 35 * <code>"lib"</code> as a privileged action: <p>
|
H A D | PutAllAction.java | 26 package sun.security.action;
|
H A D | GetIntegerAction.java | 26 package sun.security.action; 30 * as a privileged action. 36 * property named <code>"prop"</code> as a privileged action. Since it does 43 * (new sun.security.action.GetIntegerAction("prop")); 51 * property named <code>"prop"</code> as a privileged action, and also passes
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | SocketPermission.java | 39 public SocketPermission(String host, String action) { super(""); } argument
|
/libcore/ojluni/src/main/java/java/security/ |
H A D | AccessController.java | 38 * Calls {@code action.run()}. 40 public static <T> T doPrivileged(PrivilegedAction<T> action) { argument 41 return action.run(); 45 * Calls {@code action.run()}. 47 public static <T> T doPrivilegedWithCombiner(PrivilegedAction<T> action) { argument 48 return action.run(); 53 * Calls {@code action.run()}. 55 public static <T> T doPrivileged(PrivilegedAction<T> action, argument 57 return action.run(); 61 * Calls {@code action 64 doPrivileged(PrivilegedExceptionAction<T> action) argument 79 doPrivilegedWithCombiner(PrivilegedExceptionAction<T> action) argument 89 doPrivileged(PrivilegedExceptionAction<T> action, AccessControlContext context) argument [all...] |
/libcore/ojluni/src/main/java/java/util/ |
H A D | Iterator.java | 82 * {@link UnsupportedOperationException} and performs no other action. 97 * Performs the given action for each remaining element until all elements 98 * have been processed or the action throws an exception. Actions are 100 * Exceptions thrown by the action are relayed to the caller. 106 * action.accept(next()); 109 * @param action The action to be performed for each element 110 * @throws NullPointerException if the specified action is null 113 default void forEachRemaining(Consumer<? super E> action) { argument 114 Objects.requireNonNull(action); [all...] |
H A D | PrimitiveIterator.java | 71 * Performs the given action for each remaining element, in the order 73 * or the action throws an exception. Errors or runtime exceptions 74 * thrown by the action are relayed to the caller. 76 * @param action The action to be performed for each element 77 * @throws NullPointerException if the specified action is null 80 void forEachRemaining(T_CONS action); argument 97 * Performs the given action for each remaining element until all elements 98 * have been processed or the action throws an exception. Actions are 100 * Exceptions thrown by the action ar 112 forEachRemaining(IntConsumer action) argument 141 forEachRemaining(Consumer<? super Integer> action) argument 186 forEachRemaining(LongConsumer action) argument 215 forEachRemaining(Consumer<? super Long> action) argument 259 forEachRemaining(DoubleConsumer action) argument 289 forEachRemaining(Consumer<? super Double> action) argument [all...] |
H A D | Spliterator.java | 208 * public void forEachRemaining(Consumer<? super T> action) { 210 * action.accept((T) array[origin]); 213 * public boolean tryAdvance(Consumer<? super T> action) { 215 * action.accept((T) array[origin]); 256 * static <T> void parEach(TaggedArray<T> a, Consumer<T> action) { 259 * new ParEach(null, s, action, targetBatchSize).invoke(); 264 * final Consumer<T> action; 268 * Consumer<T> action, long targetBatchSize) { 270 * this.spliterator = spliterator; this.action = action; 309 tryAdvance(Consumer<? super T> action) argument 325 forEachRemaining(Consumer<? super T> action) argument 617 tryAdvance(T_CONS action) argument 635 forEachRemaining(T_CONS action) argument 650 tryAdvance(IntConsumer action) argument 653 forEachRemaining(IntConsumer action) argument 668 tryAdvance(Consumer<? super Integer> action) argument 691 forEachRemaining(Consumer<? super Integer> action) argument 714 tryAdvance(LongConsumer action) argument 717 forEachRemaining(LongConsumer action) argument 732 tryAdvance(Consumer<? super Long> action) argument 755 forEachRemaining(Consumer<? super Long> action) argument 778 tryAdvance(DoubleConsumer action) argument 781 forEachRemaining(DoubleConsumer action) argument 796 tryAdvance(Consumer<? super Double> action) argument 820 forEachRemaining(Consumer<? super Double> action) argument [all...] |
H A D | LinkedHashMap.java | 542 public void forEach(BiConsumer<? super K, ? super V> action) { argument 543 if (action == null) 548 action.accept(e.key, e.value);
|
H A D | Map.java | 596 * Performs the given action for each entry in this map until all entries 597 * have been processed or the action throws an exception. Unless 600 * Exceptions thrown by the action are relayed to the caller. 606 * action.accept(entry.getKey(), entry.getValue()); 614 * @param action The action to be performed for each entry 615 * @throws NullPointerException if the specified action is null 620 default void forEach(BiConsumer<? super K, ? super V> action) { argument 621 Objects.requireNonNull(action); 632 action [all...] |
H A D | Spliterators.java | 942 public void forEachRemaining(Consumer<? super T> action) { argument 944 if (action == null) 948 do { action.accept((T)a[i]); } while (++i < hi); 953 public boolean tryAdvance(Consumer<? super T> action) { argument 954 if (action == null) 958 action.accept(e); 1026 public void forEachRemaining(IntConsumer action) { argument 1028 if (action == null) 1032 do { action.accept(a[i]); } while (++i < hi); 1037 public boolean tryAdvance(IntConsumer action) { argument 1109 forEachRemaining(LongConsumer action) argument 1120 tryAdvance(LongConsumer action) argument 1192 forEachRemaining(DoubleConsumer action) argument 1203 tryAdvance(DoubleConsumer action) argument 1794 forEachRemaining(Consumer<? super T> action) argument 1805 tryAdvance(Consumer<? super T> action) argument 1906 forEachRemaining(IntConsumer action) argument 1912 tryAdvance(IntConsumer action) argument 2000 forEachRemaining(LongConsumer action) argument 2006 tryAdvance(LongConsumer action) argument 2094 forEachRemaining(DoubleConsumer action) argument 2100 tryAdvance(DoubleConsumer action) argument [all...] |
/libcore/ojluni/src/main/java/java/nio/ |
H A D | CharBufferSpliterator.java | 64 public void forEachRemaining(IntConsumer action) { argument 65 if (action == null) 72 action.accept(cb.getUnchecked(i++)); 77 public boolean tryAdvance(IntConsumer action) { argument 78 if (action == null) 81 action.accept(buffer.getUnchecked(index++));
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | ConcurrentMap.java | 71 * action.accept(entry.getKey(), entry.getValue()); 83 default void forEach(BiConsumer<? super K, ? super V> action) { argument 84 Objects.requireNonNull(action); 95 action.accept(k, v); 109 * except that the action is performed atomically. 144 * except that the action is performed atomically. 175 * except that the action is performed atomically. 204 * except that the action is performed atomically.
|
H A D | CompletionStage.java | 16 * action or computes a value when another CompletionStage completes. 78 * {@code whenComplete}, when the supplied action itself encounters an 181 * to the supplied action. 186 * @param action the action to perform before completing the 190 public CompletionStage<Void> thenAccept(Consumer<? super T> action); argument 196 * the supplied action. 201 * @param action the action to perform before completing the 205 public CompletionStage<Void> thenAcceptAsync(Consumer<? super T> action); argument 220 thenAcceptAsync(Consumer<? super T> action, Executor executor) argument 233 thenRun(Runnable action) argument 247 thenRunAsync(Runnable action) argument 261 thenRunAsync(Runnable action, Executor executor) argument 339 thenAcceptBoth(CompletionStage<? extends U> other, BiConsumer<? super T, ? super U> action) argument 358 thenAcceptBothAsync(CompletionStage<? extends U> other, BiConsumer<? super T, ? super U> action) argument 378 thenAcceptBothAsync(CompletionStage<? extends U> other, BiConsumer<? super T, ? super U> action, Executor executor) argument 395 runAfterBoth(CompletionStage<?> other, Runnable action) argument 410 runAfterBothAsync(CompletionStage<?> other, Runnable action) argument 427 runAfterBothAsync(CompletionStage<?> other, Runnable action, Executor executor) argument 501 acceptEither(CompletionStage<? extends T> other, Consumer<? super T> action) argument 519 acceptEitherAsync(CompletionStage<? extends T> other, Consumer<? super T> action) argument 538 acceptEitherAsync(CompletionStage<? extends T> other, Consumer<? super T> action, Executor executor) argument 555 runAfterEither(CompletionStage<?> other, Runnable action) argument 571 runAfterEitherAsync(CompletionStage<?> other, Runnable action) argument 589 runAfterEitherAsync(CompletionStage<?> other, Runnable action, Executor executor) argument 752 whenComplete(BiConsumer<? super T, ? super Throwable> action) argument 778 whenCompleteAsync(BiConsumer<? super T, ? super Throwable> action) argument 805 whenCompleteAsync(BiConsumer<? super T, ? super Throwable> action, Executor executor) argument [all...] |
H A D | CopyOnWriteArraySet.java | 45 * perform some action upon state updates. 390 public void forEach(Consumer<? super E> action) { argument 391 al.forEach(action);
|
H A D | Executors.java | 342 * {@code Callable} to an otherwise resultless action. 370 * called, runs the given privileged action and returns its result. 371 * @param action the privileged action to run 373 * @throws NullPointerException if action null 375 public static Callable<Object> callable(final PrivilegedAction<?> action) { argument 376 if (action == null) 379 public Object call() { return action.run(); }}; 384 * called, runs the given privileged exception action and returns 386 * @param action th 390 callable(final PrivilegedExceptionAction<?> action) argument [all...] |
/libcore/luni/src/main/java/org/w3c/dom/ls/ |
H A D | LSParser.java | 345 * node. For this action to work, the context node must be an 351 * parse operation. For this action to work, the context node must be an 358 * sibling of the context node. For this action to work the context 365 * sibling of the context node. For this action to work the context 372 * this action to work, the context node must have a parent, and the 382 * <code>action</code> arguments. When parsing the input stream, the 391 * <br> If the context node is a <code>Document</code> node and the action 416 * the context node of type <code>DOCUMENT_NODE</code>, and the action 425 * @param action This parameter describes which action shoul 454 parseWithContext(LSInput input, Node contextArg, short action) argument [all...] |
/libcore/ojluni/src/main/java/java/util/stream/ |
H A D | ForEachOps.java | 40 * action for every element of a stream. Supported variants include unordered 61 * Constructs a {@code TerminalOp} that perform an action for every element 64 * @param action the {@code Consumer} that receives all elements of a 70 public static <T> TerminalOp<T, Void> makeRef(Consumer<? super T> action, argument 72 Objects.requireNonNull(action); 73 return new ForEachOp.OfRef<>(action, ordered); 77 * Constructs a {@code TerminalOp} that perform an action for every element 80 * @param action the {@code IntConsumer} that receives all elements of a 85 public static TerminalOp<Integer, Void> makeInt(IntConsumer action, argument 87 Objects.requireNonNull(action); 100 makeLong(LongConsumer action, boolean ordered) argument 115 makeDouble(DoubleConsumer action, boolean ordered) argument 369 private final Sink<T> action; field in class:ForEachOps.ForEachOrderedTask 373 ForEachOrderedTask(PipelineHelper<T> helper, Spliterator<S> spliterator, Sink<T> action) argument [all...] |
H A D | Node.java | 240 * {@code action} with each element. 242 * @param action a consumer that is to be invoked with each 246 void forEach(T_CONS action); argument
|
H A D | DoubleStream.java | 195 * performing the provided action on each element as elements are consumed 201 * <p>For parallel stream pipelines, the action may be called at 203 * upstream operation. If the action modifies shared state, 217 * @param action a <a href="package-summary.html#NonInterference"> 218 * non-interfering</a> action to perform on the elements as 222 DoubleStream peek(DoubleConsumer action); argument 281 * Performs an action for each element of this stream. 289 * action may be performed at whatever time and in whatever thread the 290 * library chooses. If the action accesses shared state, it is 293 * @param action 296 forEach(DoubleConsumer action) argument 310 forEachOrdered(DoubleConsumer action) argument [all...] |
/libcore/tzdata/update_test_app/src/libcore/tzdata/update_test_app/installupdatetestapp/ |
H A D | MainActivity.java | 64 actionEditText = (EditText) findViewById(R.id.action); 74 final String action = actionEditText.getText().toString(); 100 sendIntent(copyOfContentFile, action, version, requiredHash); 126 File contentFile, String action, String version, String required) { 128 i.setAction(action); 125 sendIntent( File contentFile, String action, String version, String required) argument
|
/libcore/luni/src/main/java/libcore/icu/ |
H A D | NativeConverter.java | 52 private static int translateCodingErrorAction(CodingErrorAction action) { argument 53 if (action == CodingErrorAction.REPORT) { 55 } else if (action == CodingErrorAction.IGNORE) { 57 } else if (action == CodingErrorAction.REPLACE) {
|