Uses of Interface
org.javimmutable.collections.Func1Throws
-
Uses of Func1Throws in org.javimmutable.collections
Modifier and TypeMethodDescriptionabstract <U> Computation
<U> Computation.flatMap
(Func1Throws<T, Computation<U>, ? super Exception> func) Add a step to the computation that applies the function to the current value to produce a new computation.Result.Failure.flatMapFailure
(Func1Throws<Exception, Result<T>, Exception> func) Result.flatMapFailure
(Func1Throws<Exception, Result<T>, Exception> func) Replaces our failure result with a new value computed using the provided function.Result.Success.flatMapFailure
(Func1Throws<Exception, Result<T>, Exception> func) Maybe.flatMapThrows
(Func0Throws<Maybe<A>, E> absentMapping, Func1Throws<? super T, Maybe<A>, E> presentMapping) Produce aMaybe
based on this one.Maybe.flatMapThrows
(Func1Throws<? super T, Maybe<A>, E> presentMapping) Produce aMaybe
based on this one.NotNull.flatMapThrows
(Func0Throws<NotNull<A>, E> absentMapping, Func1Throws<? super T, NotNull<A>, E> presentMapping) Produce aNotNull
based on this one.NotNull.flatMapThrows
(Func1Throws<? super T, NotNull<A>, E> presentMapping) Produce aNotNull
based on this one.abstract <U> Computation
<U> Computation.map
(Func1Throws<T, U, ? super Exception> func) Add a step to the computation that applies the function to the current value to produce a new value.<U> Result
<U> Result.Failure.map
(Func1Throws<T, U, Exception> func) abstract <U> Result
<U> Result.map
(Func1Throws<T, U, Exception> func) Replaces our successful result with a new value computed using the provided function.<U> Result
<U> Result.Success.map
(Func1Throws<T, U, Exception> func) Result.Failure.mapFailure
(Func1Throws<Exception, T, Exception> func) Result.mapFailure
(Func1Throws<Exception, T, Exception> func) Replaces our failure result with a new value computed using the provided function.Result.Success.mapFailure
(Func1Throws<Exception, T, Exception> func) Maybe.mapThrows
(Func0Throws<? extends U, E> absentMapping, Func1Throws<? super T, ? extends U, E> presentMapping) Produce a fullMaybe
.Maybe.mapThrows
(Func1Throws<? super T, ? extends U, E> presentMapping) Produce aMaybe
that is empty if this is empty or else contains the result of passing this value to the given mapping function.NotNull.mapThrows
(Func0Throws<? extends U, E> absentMapping, Func1Throws<? super T, ? extends U, E> presentMapping) Produce a fullNotNull
.NotNull.mapThrows
(Func1Throws<? super T, ? extends U, E> presentMapping) Produce aNotNull
that is empty if this is empty or else contains the result of passing this value to the given mapping function.abstract <U,
E extends Exception>
UMaybe.matchOrThrows
(Func0Throws<U, E> absentMapping, Func1Throws<? super T, U, E> presentMapping) Gets a value based on this value.abstract <U,
E extends Exception>
UNotNull.matchOrThrows
(Func0Throws<U, E> absentMapping, Func1Throws<? super T, U, E> presentMapping) Gets a value based on this value.abstract <U,
E extends Exception>
UMaybe.matchThrows
(U absentValue, Func1Throws<? super T, U, E> presentMapping) Gets a value based on this value.abstract <U,
E extends Exception>
UNotNull.matchThrows
(U absentValue, Func1Throws<? super T, U, E> presentMapping) Gets a value based on this value.