Uses of Interface
com.google.mu.function.CheckedFunction
Package
Description
A few useful collections.
Some extra functional interfaces.
StringFormat, Substring, Optionals and more...
-
Uses of CheckedFunction in com.google.mu.collect
Modifier and TypeMethodDescriptionSelection.Parser.parse
(String string, CheckedFunction<String, ? extends T, E> elementParser) Parsesstring
into aSelection
by treating the single'*'
character asSelection.all()
, and delegating toelementParser
to parse each explicit selection element. -
Uses of CheckedFunction in com.google.mu.function
Modifier and TypeMethodDescriptiondefault <R> CheckedFunction
<F, R, E> CheckedFunction.andThen
(CheckedFunction<? super T, ? extends R, ? extends E> mapper) Returns a newCheckedFunction
that maps the return value usingmapper
.Modifier and TypeMethodDescriptiondefault <R> CheckedBiFunction
<A, B, R, E> CheckedBiFunction.andThen
(CheckedFunction<? super T, ? extends R, ? extends E> mapper) Returns a newCheckedBiFunction
that maps the return value usingmapper
.default <R> CheckedFunction
<F, R, E> CheckedFunction.andThen
(CheckedFunction<? super T, ? extends R, ? extends E> mapper) Returns a newCheckedFunction
that maps the return value usingmapper
.default <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 CheckedFunction in com.google.mu.util
Modifier and TypeMethodDescriptionMaybe.maybe
(CheckedFunction<? super F, ? extends T, ? extends E> function, Class<E> exceptionType) Deprecated.Wrapsfunction
to be used for a stream of Maybe.Maybe.maybe
(CheckedFunction<? super F, ? extends T, E> function) Deprecated.Wrapsfunction
to be used for a stream of Maybe.Maybe.maybeStream
(CheckedFunction<? super F, ? extends Stream<? extends T>, ? extends E> function, Class<E> exceptionType) Deprecated.Wrapsfunction
that returnsStream<T>
to one that returnsStream<Maybe<T, E>>
with exceptions of typeE
wrapped.Maybe.maybeStream
(CheckedFunction<? super F, ? extends Stream<? extends T>, E> function) Deprecated.Wrapsfunction
that returnsStream<T>
to one that returnsStream<Maybe<T, E>>
with exceptions of typeE
wrapped.Maybe.orElse
(CheckedFunction<? super E, ? extends T, X> function) Deprecated.Either returns the encapsulated value, or translates exception usingfunction
.