Uses of Interface
com.google.mu.function.CheckedSupplier
Packages that use CheckedSupplier
Package
Description
Some extra functional interfaces
StringFormat, Substring, Optionals and more...
-
Uses of CheckedSupplier in com.google.mu.function
Methods in com.google.mu.function that return CheckedSupplierModifier and TypeMethodDescriptiondefault <R> CheckedSupplier
<R, E> CheckedSupplier.andThen
(CheckedFunction<? super T, ? extends R, ? extends E> mapper) Returns a newCheckedSupplier
that maps the return value usingmapper
. -
Uses of CheckedSupplier in com.google.mu.util
Methods in com.google.mu.util with parameters of type CheckedSupplierModifier and TypeMethodDescriptionOptionals.optionally
(boolean condition, CheckedSupplier<? extends T, E> supplier) Returns an Optional that wraps the nullable result fromsupplier
ifcondition
is true, or elseempty()
.Premise.or
(CheckedSupplier<? extends Premise, E> alternative) Evaluatesalternative
ifthis
premise doesn't hold.