Home
last modified time | relevance | path

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

123456

/libcore/ojluni/src/main/java/java/util/
DSpliterator.java312 boolean tryAdvance(Consumer<? super T> action); in tryAdvance()
331 default void forEachRemaining(Consumer<? super T> action) { in forEachRemaining()
632 boolean tryAdvance(T_CONS action); in tryAdvance()
653 default void forEachRemaining(T_CONS action) { in forEachRemaining()
668 boolean tryAdvance(IntConsumer action); in tryAdvance()
671 default void forEachRemaining(IntConsumer action) { in forEachRemaining()
686 default boolean tryAdvance(Consumer<? super Integer> action) { in tryAdvance()
709 default void forEachRemaining(Consumer<? super Integer> action) { in forEachRemaining()
732 boolean tryAdvance(LongConsumer action); in tryAdvance()
735 default void forEachRemaining(LongConsumer action) { in forEachRemaining()
[all …]
DPrimitiveIterator.java88 void forEachRemaining(T_CONS action); in forEachRemaining()
113 default void forEachRemaining(IntConsumer action) { in forEachRemaining()
142 default void forEachRemaining(Consumer<? super Integer> action) { in forEachRemaining()
180 default void forEachRemaining(LongConsumer action) { in forEachRemaining()
209 default void forEachRemaining(Consumer<? super Long> action) { in forEachRemaining()
246 default void forEachRemaining(DoubleConsumer action) { in forEachRemaining()
276 default void forEachRemaining(Consumer<? super Double> action) { in forEachRemaining()
DSpliterators.java698 public void forEachRemaining(Consumer<? super T> action) { in iterator()
755 public void forEachRemaining(IntConsumer action) { in iterator()
810 public void forEachRemaining(LongConsumer action) { in iterator()
865 public void forEachRemaining(DoubleConsumer action) { in iterator()
986 public void forEachRemaining(Consumer<? super T> action) { in forEachRemaining()
997 public boolean tryAdvance(Consumer<? super T> action) { in tryAdvance()
1070 public void forEachRemaining(IntConsumer action) { in forEachRemaining()
1081 public boolean tryAdvance(IntConsumer action) { in tryAdvance()
1153 public void forEachRemaining(LongConsumer action) { in forEachRemaining()
1164 public boolean tryAdvance(LongConsumer action) { in tryAdvance()
[all …]
DIterator.java130 default void forEachRemaining(Consumer<? super E> action) { in forEachRemaining()
DOptionalLong.java163 public void ifPresent(LongConsumer action) { in ifPresent()
181 public void ifPresentOrElse(LongConsumer action, Runnable emptyAction) { in ifPresentOrElse()
DOptionalInt.java163 public void ifPresent(IntConsumer action) { in ifPresent()
181 public void ifPresentOrElse(IntConsumer action, Runnable emptyAction) { in ifPresentOrElse()
DOptionalDouble.java163 public void ifPresent(DoubleConsumer action) { in ifPresent()
181 public void ifPresentOrElse(DoubleConsumer action, Runnable emptyAction) { in ifPresentOrElse()
/libcore/ojluni/src/main/java/java/security/
DAccessController.java45 public static <T> T doPrivileged(PrivilegedAction<T> action) { in doPrivileged()
52 public static <T> T doPrivilegedWithCombiner(PrivilegedAction<T> action) { in doPrivilegedWithCombiner()
60 public static <T> T doPrivileged(PrivilegedAction<T> action, in doPrivileged()
70 public static <T> T doPrivilegedWithCombiner(PrivilegedAction<T> action, in doPrivilegedWithCombiner()
79 doPrivileged(PrivilegedExceptionAction<T> action) in doPrivileged()
92 public static <T> T doPrivilegedWithCombiner(PrivilegedExceptionAction<T> action) in doPrivilegedWithCombiner()
103 doPrivileged(PrivilegedExceptionAction<T> action, in doPrivileged()
114 public static <T> T doPrivileged(PrivilegedExceptionAction<T> action, in doPrivileged()
126 public static <T> T doPrivilegedWithCombiner(PrivilegedExceptionAction<T> action, in doPrivilegedWithCombiner()
139 public static <T> T doPrivileged(PrivilegedAction<T> action, in doPrivileged()
/libcore/ojluni/src/main/java/java/util/concurrent/
DCompletionStage.java219 public CompletionStage<Void> thenAccept(Consumer<? super T> action); in thenAccept()
234 public CompletionStage<Void> thenAcceptAsync(Consumer<? super T> action); in thenAcceptAsync()
249 public CompletionStage<Void> thenAcceptAsync(Consumer<? super T> action, in thenAcceptAsync()
262 public CompletionStage<Void> thenRun(Runnable action); in thenRun()
276 public CompletionStage<Void> thenRunAsync(Runnable action); in thenRunAsync()
290 public CompletionStage<Void> thenRunAsync(Runnable action, in thenRunAsync()
370 BiConsumer<? super T, ? super U> action); in thenAcceptBoth()
389 BiConsumer<? super T, ? super U> action); in thenAcceptBothAsync()
409 BiConsumer<? super T, ? super U> action, in thenAcceptBothAsync()
425 Runnable action); in runAfterBoth()
[all …]
/libcore/ojluni/annotations/mmodule/java/util/concurrent/
DCompletableFuture.annotated.java76 …ncurrent.CompletableFuture<java.lang.Void> thenAccept(java.util.function.Consumer<? super T> actio… in thenAccept()
78 …ent.CompletableFuture<java.lang.Void> thenAcceptAsync(java.util.function.Consumer<? super T> actio… in thenAcceptAsync()
80 …ent.CompletableFuture<java.lang.Void> thenAcceptAsync(java.util.function.Consumer<? super T> actio… in thenAcceptAsync()
82 public java.util.concurrent.CompletableFuture<java.lang.Void> thenRun(java.lang.Runnable action) { … in thenRun()
84 ….util.concurrent.CompletableFuture<java.lang.Void> thenRunAsync(java.lang.Runnable action) { throw… in thenRunAsync()
86 ….util.concurrent.CompletableFuture<java.lang.Void> thenRunAsync(java.lang.Runnable action, java.ut… in thenRunAsync()
94 …onStage<? extends U> other, java.util.function.BiConsumer<? super T,? super U> action) { throw new… in thenAcceptBoth()
96 …onStage<? extends U> other, java.util.function.BiConsumer<? super T,? super U> action) { throw new… in thenAcceptBothAsync()
98 …onStage<? extends U> other, java.util.function.BiConsumer<? super T,? super U> action, java.util.c… in thenAcceptBothAsync()
100 …id> runAfterBoth(java.util.concurrent.CompletionStage<?> other, java.lang.Runnable action) { throw… in runAfterBoth()
[all …]
/libcore/ojluni/src/main/java/java/nio/channels/
DSelector.java482 public int select(Consumer<SelectionKey> action, long timeout) in select()
519 public int select(Consumer<SelectionKey> action) throws IOException { in select()
552 public int selectNow(Consumer<SelectionKey> action) throws IOException { in selectNow()
559 private int doSelect(Consumer<SelectionKey> action, long timeout) in doSelect()
/libcore/luni/src/test/java/libcore/java/util/
DSpliteratorTest.java46 public boolean tryAdvance(IntConsumer action) { in tryAdvance()
66 public boolean tryAdvance(Consumer<? super Integer> action) { in tryAdvance()
86 IntConsumer action = (i) -> sum.addAndGet(i); in testOfPrimitiveForEachRemaining() local
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DCompletionStageTest.java113 public CompletionStage<Void> thenAccept(Consumer<? super T> action) { in thenAccept()
117 public CompletionStage<Void> thenAcceptAsync(Consumer<? super T> action) { in thenAcceptAsync()
121 public CompletionStage<Void> thenAcceptAsync(Consumer<? super T> action, in thenAcceptAsync()
126 public CompletionStage<Void> thenRun(Runnable action) { in thenRun()
130 public CompletionStage<Void> thenRunAsync(Runnable action) { in thenRunAsync()
134 public CompletionStage<Void> thenRunAsync(Runnable action, in thenRunAsync()
156 BiConsumer<? super T, ? super U> action) { in thenAcceptBoth()
161 BiConsumer<? super T, ? super U> action) { in thenAcceptBothAsync()
166 BiConsumer<? super T, ? super U> action, in thenAcceptBothAsync()
172 Runnable action) { in runAfterBoth()
[all …]
/libcore/luni/src/test/java/libcore/java/net/
DSocketPermissionTest.java33 String action = "Connect"; in testGetAction() local
42 String action = "Connect"; in testImplies() local
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCountedCompleter8Test.java59 public static <E> void forEach1(E[] array, Consumer<E> action) { in forEach1()
83 public static <E> void forEach2(E[] array, Consumer<E> action) { in forEach2()
107 public static <E> void forEach3(E[] array, Consumer<E> action) { in forEach3()
129 public static <E> void forEach4(E[] array, Consumer<E> action) { in forEach4()
149 BiConsumer<Integer[], Consumer<Integer>> action) { in testRecursiveDecomposition()
/libcore/ojluni/src/main/java/java/util/stream/
DStreams.java393 public boolean tryAdvance(Consumer<? super T> action) { in tryAdvance()
407 public void forEachRemaining(Consumer<? super T> action) { in forEachRemaining()
484 public boolean tryAdvance(IntConsumer action) { in tryAdvance()
498 public void forEachRemaining(IntConsumer action) { in forEachRemaining()
575 public boolean tryAdvance(LongConsumer action) { in tryAdvance()
589 public void forEachRemaining(LongConsumer action) { in forEachRemaining()
666 public boolean tryAdvance(DoubleConsumer action) { in tryAdvance()
680 public void forEachRemaining(DoubleConsumer action) { in forEachRemaining()
785 public boolean tryAdvance(T_CONS action) { in tryAdvance()
800 public void forEachRemaining(T_CONS action) { in forEachRemaining()
DStreamSpliterators.java708 public boolean tryAdvance(Consumer<? super T> action) { in tryAdvance()
727 public void forEachRemaining(Consumer<? super T> action) { in forEachRemaining()
770 public boolean tryAdvance(T_CONS action) { in tryAdvance()
789 public void forEachRemaining(T_CONS action) { in forEachRemaining()
1011 public boolean tryAdvance(Consumer<? super T> action) { in tryAdvance()
1027 public void forEachRemaining(Consumer<? super T> action) { in forEachRemaining()
1081 public boolean tryAdvance(T_CONS action) { in tryAdvance()
1097 protected abstract void acceptConsumed(T_CONS action); in acceptConsumed()
1100 public void forEachRemaining(T_CONS action) { in forEachRemaining()
1151 protected void acceptConsumed(IntConsumer action) { in acceptConsumed()
[all …]
DForEachOps.java69 public static <T> TerminalOp<T, Void> makeRef(Consumer<? super T> action, in makeRef()
84 public static TerminalOp<Integer, Void> makeInt(IntConsumer action, in makeInt()
99 public static TerminalOp<Long, Void> makeLong(LongConsumer action, in makeLong()
114 public static TerminalOp<Double, Void> makeDouble(DoubleConsumer action, in makeDouble()
368 private final Sink<T> action; field in ForEachOps.ForEachOrderedTask
374 Sink<T> action) { in ForEachOrderedTask()
/libcore/ojluni/src/main/java/java/nio/
DCharBufferSpliterator.java64 public void forEachRemaining(IntConsumer action) { in forEachRemaining()
77 public boolean tryAdvance(IntConsumer action) { in tryAdvance()
/libcore/ojluni/src/main/java/sun/nio/ch/
DMembershipRegistry.java125 void accept(T action) throws X; in accept()
132 void forEach(ThrowingConsumer<MembershipKeyImpl, X> action) throws X { in forEach()
/libcore/ojluni/src/main/java/java/lang/
DIterable.java72 default void forEach(Consumer<? super T> action) { in forEach()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DIterable.annotated.java36 … default void forEach(@NonNull Consumer<? super T> action) { throw new RuntimeException("Stub!"); } in forEach()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DIterator.annotated.java35 …onsumer<? super @libcore.util.NullFromTypeParam E> action) { throw new RuntimeException("Stub!"); } in forEachRemaining()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DDefaultMethodStreams.java247 public Stream<T> peek(Consumer<? super T> action) { in peek()
262 public void forEach(Consumer<? super T> action) { in forEach()
267 public void forEachOrdered(Consumer<? super T> action) { in forEachOrdered()
438 public IntStream peek(IntConsumer action) { in peek()
453 public void forEach(IntConsumer action) { in forEach()
458 public void forEachOrdered(IntConsumer action) { in forEachOrdered()
604 public void forEach(LongConsumer action) { in forEach()
649 public LongStream peek(LongConsumer action) { in peek()
664 public void forEachOrdered(LongConsumer action) { in forEachOrdered()
842 public DoubleStream peek(DoubleConsumer action) { in peek()
[all …]
/libcore/ojluni/src/main/java/java/net/
DSocketPermission.java41 public SocketPermission(String host, String action) { super(""); } in SocketPermission()

123456