Package | Description |
---|---|
javaslang |
Modifier and Type | Method and Description |
---|---|
default <V> CheckedFunction0<V> |
CheckedFunction0.andThen(CheckedFunction1<? super R,? extends V> after)
Returns a composed function that first applies this CheckedFunction0 to the given argument and then applies
CheckedFunction1
after to the result. |
static <R> CheckedFunction0<R> |
API.CheckedFunction0(CheckedFunction0<R> methodReference)
Alias for
of(CheckedFunction0) |
static <R> CheckedFunction0<R> |
CheckedFunction0.constant(R value)
Returns a function that always returns the constant
value that you give in parameter.
|
default CheckedFunction0<R> |
CheckedFunction0.curried() |
default CheckedFunction0<R> |
CheckedFunction0.memoized() |
static <R> CheckedFunction0<R> |
CheckedFunction0.of(CheckedFunction0<R> methodReference)
|
default CheckedFunction0<R> |
CheckedFunction0.reversed() |
Modifier and Type | Method and Description |
---|---|
static <R> CheckedFunction0<R> |
API.CheckedFunction0(CheckedFunction0<R> methodReference)
Alias for
of(CheckedFunction0) |
static <R> Function0<Option<R>> |
CheckedFunction0.lift(CheckedFunction0<? extends R> partialFunction)
Lifts the given
partialFunction into a total function that returns an Option result. |
static <R> Function0<Try<R>> |
CheckedFunction0.liftTry(CheckedFunction0<? extends R> partialFunction)
Lifts the given
partialFunction into a total function that returns an Try result. |
static <R> CheckedFunction0<R> |
CheckedFunction0.of(CheckedFunction0<R> methodReference)
|
static <R> Function0<R> |
API.unchecked(CheckedFunction0<R> f)
|
Copyright © 2016. All Rights Reserved.