Home
last modified time | relevance | path

Searched refs:emptyAction (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DOptionalLong.java181 public void ifPresentOrElse(LongConsumer action, Runnable emptyAction) { in ifPresentOrElse() argument
185 emptyAction.run(); in ifPresentOrElse()
DOptionalInt.java181 public void ifPresentOrElse(IntConsumer action, Runnable emptyAction) { in ifPresentOrElse() argument
185 emptyAction.run(); in ifPresentOrElse()
DOptionalDouble.java181 public void ifPresentOrElse(DoubleConsumer action, Runnable emptyAction) { in ifPresentOrElse() argument
185 emptyAction.run(); in ifPresentOrElse()
DOptional.java194 public void ifPresentOrElse(Consumer<? super T> action, Runnable emptyAction) { in ifPresentOrElse() argument
198 emptyAction.run(); in ifPresentOrElse()
/libcore/ojluni/src/test/java/util/Optional/
DBasicInt.java158 OptionalInt receiver, IntConsumer action, Runnable emptyAction) { in OptionalInt_ifPresentOrElse() argument
163 mh.invokeExact(receiver, action, emptyAction); in OptionalInt_ifPresentOrElse()
DBasicDouble.java159 OptionalDouble receiver, DoubleConsumer action, Runnable emptyAction) { in OptionalDouble_ifPresentOrElse() argument
166 mh.invokeExact(receiver, action, emptyAction); in OptionalDouble_ifPresentOrElse()
DBasicLong.java159 OptionalLong receiver, LongConsumer action, Runnable emptyAction) { in OptionalLong_ifPresentOrElse() argument
165 mh.invokeExact(receiver, action, emptyAction); in OptionalLong_ifPresentOrElse()
DBasic.java326 Optional<T> receiver, Consumer<? super T> action, Runnable emptyAction) { in Optional_ifPresentOrElse() argument
331 mh.invokeExact(receiver, action, emptyAction); in Optional_ifPresentOrElse()