Searched refs:action (Results 26 - 50 of 113) sorted by relevance

12345

/libcore/ojluni/src/main/java/java/nio/charset/
H A DCharsetEncoder.java89 * <p> How an encoding error is handled depends upon the action requested for
109 * <p> The default action for malformed-input and unmappable-character errors
111 * malformed-input error action may be changed via the {@link
113 * unmappable-character action may be changed via the {@link
379 * Returns this encoder's current action for malformed-input errors.
381 * @return The current malformed-input action, which is never <tt>null</tt>
388 * Changes this encoder's action for malformed-input errors.
391 * implOnMalformedInput} method, passing the new action. </p>
393 * @param newAction The new action; must not be <tt>null</tt>
402 throw new IllegalArgumentException("Null action");
[all...]
/libcore/luni/src/main/java/org/w3c/dom/ls/
H A DLSParser.java345 * 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/regex/
H A DPatternSyntaxException.java28 import sun.security.action.GetPropertyAction;
/libcore/ojluni/src/main/java/sun/net/
H A DResourceManager.java30 import sun.security.action.GetPropertyAction;
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DDefaultFileSystemProvider.java30 import sun.security.action.GetPropertyAction;
H A DUtil.java32 import sun.security.action.*;
/libcore/ojluni/src/main/java/java/util/
H A DIdentityHashMap.java1343 public void forEach(BiConsumer<? super K, ? super V> action) { argument
1344 Objects.requireNonNull(action);
1351 action.accept((K) unmaskNull(k), (V) t[index + 1]);
1431 public void forEachRemaining(Consumer<? super K> action) { argument
1432 if (action == null)
1440 action.accept((K)unmaskNull(key));
1449 public boolean tryAdvance(Consumer<? super K> action) { argument
1450 if (action == null)
1458 action.accept((K)unmaskNull(key));
1487 public void forEachRemaining(Consumer<? super V> action) { argument
1506 tryAdvance(Consumer<? super V> action) argument
1546 forEachRemaining(Consumer<? super Map.Entry<K, V>> action) argument
1570 tryAdvance(Consumer<? super Map.Entry<K,V>> action) argument
[all...]
H A DWeakHashMap.java1016 public void forEach(BiConsumer<? super K, ? super V> action) { argument
1017 Objects.requireNonNull(action);
1025 action.accept((K)WeakHashMap.unmaskNull(key), entry.value);
1112 public void forEachRemaining(Consumer<? super K> action) { argument
1114 if (action == null)
1137 action.accept(k);
1146 public boolean tryAdvance(Consumer<? super K> action) { argument
1148 if (action == null)
1161 action.accept(k);
1192 public void forEachRemaining(Consumer<? super V> action) { argument
1224 tryAdvance(Consumer<? super V> action) argument
1270 forEachRemaining(Consumer<? super Map.Entry<K, V>> action) argument
1306 tryAdvance(Consumer<? super Map.Entry<K,V>> action) argument
[all...]
H A DLinkedHashMap.java587 public final void forEach(Consumer<? super K> action) { argument
588 if (action == null)
593 action.accept(e.key);
637 public final void forEach(Consumer<? super V> action) { argument
638 if (action == null)
643 action.accept(e.value);
701 public final void forEach(Consumer<? super Map.Entry<K,V>> action) { argument
702 if (action == null)
707 action.accept(e);
715 public void forEach(BiConsumer<? super K, ? super V> action) { argument
[all...]
H A DVector.java1168 public void forEachRemaining(Consumer<? super E> action) { argument
1169 Objects.requireNonNull(action);
1182 action.accept(elementData[i++]);
1252 public synchronized void forEach(Consumer<? super E> action) { argument
1253 Objects.requireNonNull(action);
1259 action.accept(elementData[i]);
1392 public boolean tryAdvance(Consumer<? super E> action) { argument
1394 if (action == null)
1398 action.accept((E)array[i]);
1407 public void forEachRemaining(Consumer<? super E> action) { argument
[all...]
H A DLinkedList.java953 public void forEachRemaining(Consumer<? super E> action) { argument
954 Objects.requireNonNull(action);
956 action.accept(next.item);
1226 public void forEachRemaining(Consumer<? super E> action) { argument
1228 if (action == null) throw new NullPointerException();
1235 action.accept(e);
1242 public boolean tryAdvance(Consumer<? super E> action) { argument
1244 if (action == null) throw new NullPointerException();
1249 action.accept(e);
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 DPriorityQueue.java855 public void forEachRemaining(Consumer<? super E> action) { argument
858 if (action == null)
872 action.accept(e);
884 public boolean tryAdvance(Consumer<? super E> action) { argument
885 if (action == null)
893 action.accept(e);
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/stream/
H A DIntPipeline.java353 public final IntStream peek(IntConsumer action) { argument
354 Objects.requireNonNull(action);
362 action.accept(t);
404 public void forEach(IntConsumer action) { argument
405 evaluate(ForEachOps.makeInt(action, false));
409 public void forEachOrdered(IntConsumer action) { argument
410 evaluate(ForEachOps.makeInt(action, true));
557 public void forEach(IntConsumer action) { argument
559 adapt(sourceStageSpliterator()).forEachRemaining(action);
562 super.forEach(action);
567 forEachOrdered(IntConsumer action) argument
[all...]
H A DReferencePipeline.java364 public final Stream<P_OUT> peek(Consumer<? super P_OUT> action) { argument
365 Objects.requireNonNull(action);
373 action.accept(u);
418 public void forEach(Consumer<? super P_OUT> action) { argument
419 evaluate(ForEachOps.makeRef(action, false));
423 public void forEachOrdered(Consumer<? super P_OUT> action) { argument
424 evaluate(ForEachOps.makeRef(action, true));
581 public void forEach(Consumer<? super E_OUT> action) { argument
583 sourceStageSpliterator().forEachRemaining(action);
586 super.forEach(action);
591 forEachOrdered(Consumer<? super E_OUT> action) argument
[all...]
H A DDoubleStream.java195 * 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/ojluni/src/main/java/java/util/concurrent/
H A DConcurrentMap.java100 * action.accept(entry.getKey(), entry.getValue());
112 default void forEach(BiConsumer<? super K, ? super V> action) { argument
113 Objects.requireNonNull(action);
124 action.accept(k, v);
138 * except that the action is performed atomically.
173 * except that the action is performed atomically.
204 * except that the action is performed atomically.
233 * except that the action is performed atomically.
H A DExecutors.java372 * {@code Callable} to an otherwise resultless action.
400 * called, runs the given privileged action and returns its result.
401 * @param action the privileged action to run
403 * @throws NullPointerException if action null
405 public static Callable<Object> callable(final PrivilegedAction<?> action) { argument
406 if (action == null)
409 public Object call() { return action.run(); }};
414 * called, runs the given privileged exception action and returns
416 * @param action th
420 callable(final PrivilegedExceptionAction<?> action) argument
[all...]
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 DCopyOnWriteArraySet.java74 * perform some action upon state updates.
419 public void forEach(Consumer<? super E> action) { argument
420 al.forEach(action);
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/ojluni/src/main/java/sun/net/www/protocol/file/
H A DFileURLConnection.java44 import sun.security.action.GetPropertyAction;
45 import sun.security.action.GetIntegerAction;
46 import sun.security.action.GetBooleanAction;
/libcore/ojluni/src/main/java/java/net/
H A DURLEncoder.java40 import sun.security.action.GetBooleanAction;
41 import sun.security.action.GetPropertyAction;
/libcore/ojluni/src/main/java/java/nio/channels/spi/
H A DSelectorProvider.java36 import sun.security.action.GetPropertyAction;

Completed in 558 milliseconds

12345