Searched refs:emptyAction (Results 1 – 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/java/util/ |
D | OptionalLong.java | 181 public void ifPresentOrElse(LongConsumer action, Runnable emptyAction) { in ifPresentOrElse() argument 185 emptyAction.run(); in ifPresentOrElse()
|
D | OptionalInt.java | 181 public void ifPresentOrElse(IntConsumer action, Runnable emptyAction) { in ifPresentOrElse() argument 185 emptyAction.run(); in ifPresentOrElse()
|
D | OptionalDouble.java | 181 public void ifPresentOrElse(DoubleConsumer action, Runnable emptyAction) { in ifPresentOrElse() argument 185 emptyAction.run(); in ifPresentOrElse()
|
D | Optional.java | 194 public void ifPresentOrElse(Consumer<? super T> action, Runnable emptyAction) { in ifPresentOrElse() argument 198 emptyAction.run(); in ifPresentOrElse()
|
/libcore/ojluni/src/test/java/util/Optional/ |
D | BasicInt.java | 158 OptionalInt receiver, IntConsumer action, Runnable emptyAction) { in OptionalInt_ifPresentOrElse() argument 163 mh.invokeExact(receiver, action, emptyAction); in OptionalInt_ifPresentOrElse()
|
D | BasicDouble.java | 159 OptionalDouble receiver, DoubleConsumer action, Runnable emptyAction) { in OptionalDouble_ifPresentOrElse() argument 166 mh.invokeExact(receiver, action, emptyAction); in OptionalDouble_ifPresentOrElse()
|
D | BasicLong.java | 159 OptionalLong receiver, LongConsumer action, Runnable emptyAction) { in OptionalLong_ifPresentOrElse() argument 165 mh.invokeExact(receiver, action, emptyAction); in OptionalLong_ifPresentOrElse()
|
D | Basic.java | 326 Optional<T> receiver, Consumer<? super T> action, Runnable emptyAction) { in Optional_ifPresentOrElse() argument 331 mh.invokeExact(receiver, action, emptyAction); in Optional_ifPresentOrElse()
|