Uses of Interface
com.google.mu.function.CheckedBiConsumer
Package
Description
Some extra functional interfaces.
StringFormat, Substring, Optionals and more...
-
Uses of CheckedBiConsumer in com.google.mu.function
Modifier and TypeMethodDescriptiondefault <R> CheckedBiConsumer
<A, B, E> CheckedBiConsumer.andThen
(CheckedBiConsumer<? super A, ? super B, ? extends E> that) Returns a newCheckedBiConsumer
that also passes the inputs tothat
.Modifier and TypeMethodDescriptiondefault <R> CheckedBiConsumer
<A, B, E> CheckedBiConsumer.andThen
(CheckedBiConsumer<? super A, ? super B, ? extends E> that) Returns a newCheckedBiConsumer
that also passes the inputs tothat
. -
Uses of CheckedBiConsumer in com.google.mu.util
Modifier and TypeMethodDescriptionOptionals.ifPresent
(BiOptional<A, B> optional, CheckedBiConsumer<? super A, ? super B, E> consumer) Runsaction
if the pair is present.Optionals.ifPresent
(Optional<A> left, Optional<B> right, CheckedBiConsumer<? super A, ? super B, E> consumer) Invokesconsumer
if bothleft
andright
are present.