Uses of Interface
com.google.mu.util.Premise
-
Uses of Premise 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.Optionals.ifPresent
(Optional<T> optional, CheckedConsumer<? super T, E> consumer) Invokesconsumer
ifoptional
is present.Optionals.ifPresent
(OptionalDouble optional, CheckedDoubleConsumer<E> consumer) Invokesconsumer
ifoptional
is present.Optionals.ifPresent
(OptionalInt optional, CheckedIntConsumer<E> consumer) Invokesconsumer
ifoptional
is present.Optionals.ifPresent
(OptionalLong optional, CheckedLongConsumer<E> consumer) Invokesconsumer
ifoptional
is present.Premise.or
(CheckedSupplier<? extends Premise, E> alternative) Evaluatesalternative
ifthis
premise doesn't hold.Modifier and TypeMethodDescriptionPremise.or
(CheckedSupplier<? extends Premise, E> alternative) Evaluatesalternative
ifthis
premise doesn't hold.