Package | Description |
---|---|
javaslang | |
javaslang.control |
Modifier and Type | Method and Description |
---|---|
default <V> Function8<T1,T2,T3,T4,T5,T6,T7,T8,V> |
Function8.andThen(Function<? super R,? extends V> after)
Returns a composed function that first applies this Function8 to the given argument and then applies
Function
after to the result. |
static <T1,T2,T3,T4,T5,T6,T7,T8,R> |
Function8.constant(R value)
Returns a function that always returns the constant
value that you give in parameter.
|
static <T1,T2,T3,T4,T5,T6,T7,T8,R> |
API.Function8(Function8<T1,T2,T3,T4,T5,T6,T7,T8,R> methodReference)
Alias for
of(Function8) |
static <T1,T2,T3,T4,T5,T6,T7,T8,R> |
CheckedFunction8.lift(CheckedFunction8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R> partialFunction)
Lifts the given
partialFunction into a total function that returns an Option result. |
static <T1,T2,T3,T4,T5,T6,T7,T8,R> |
Function8.lift(Function8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R> partialFunction)
Lifts the given
partialFunction into a total function that returns an Option result. |
static <T1,T2,T3,T4,T5,T6,T7,T8,R> |
CheckedFunction8.liftTry(CheckedFunction8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R> partialFunction)
Lifts the given
partialFunction into a total function that returns an Try result. |
static <T1,T2,T3,T4,T5,T6,T7,T8,R> |
Function8.liftTry(Function8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R> partialFunction)
Lifts the given
partialFunction into a total function that returns an Try result. |
default Function8<T1,T2,T3,T4,T5,T6,T7,T8,R> |
Function8.memoized() |
static <T1,T2,T3,T4,T5,T6,T7,T8,R> |
Function8.of(Function8<T1,T2,T3,T4,T5,T6,T7,T8,R> methodReference)
|
default Function8<T1,T2,T3,T4,T5,T6,T7,T8,R> |
CheckedFunction8.recover(Function<? super Throwable,? extends Function8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R>> recover)
Return a composed function that first applies this CheckedFunction8 to the given arguments and in case of throwable
try to get value from
recover function with same arguments and throwable information. |
default Function8<T8,T7,T6,T5,T4,T3,T2,T1,R> |
Function8.reversed() |
default Function8<T1,T2,T3,T4,T5,T6,T7,T8,R> |
CheckedFunction8.unchecked()
Return unchecked function that will return this CheckedFunction8 result in correct case and throw exception
wrapped by
IllegalStateException in case of throwable. |
static <T1,T2,T3,T4,T5,T6,T7,T8,R> |
API.unchecked(CheckedFunction8<T1,T2,T3,T4,T5,T6,T7,T8,R> f)
|
default Function8<T1,T2,T3,T4,T5,T6,T7,T8,R> |
CheckedFunction8.unchecked(Function<? super Throwable,? extends RuntimeException> exceptionMapper)
Return unchecked function that will return this CheckedFunction8 result in correct case and throw runtime exception
wrapped by
exceptionMapper in case of throwable |
Modifier and Type | Method and Description |
---|---|
<U> U |
Tuple8.apply(Function8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends U> f)
Transforms this tuple to an object of type U.
|
static <T,T1,T2,T3,T4,T5,T6,T7,T8,R> |
API.Case(API.Match.Pattern8<T,T1,T2,T3,T4,T5,T6,T7,T8> pattern,
Function8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R> f) |
static <T1,T2,T3,T4,T5,T6,T7,T8,R> |
API.Function8(Function8<T1,T2,T3,T4,T5,T6,T7,T8,R> methodReference)
Alias for
of(Function8) |
static <T1,T2,T3,T4,T5,T6,T7,T8,R> |
Function8.lift(Function8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R> partialFunction)
Lifts the given
partialFunction into a total function that returns an Option result. |
static <T1,T2,T3,T4,T5,T6,T7,T8,R> |
Function8.liftTry(Function8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R> partialFunction)
Lifts the given
partialFunction into a total function that returns an Try result. |
<U1,U2,U3,U4,U5,U6,U7,U8> |
Tuple8.map(Function8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,Tuple8<U1,U2,U3,U4,U5,U6,U7,U8>> mapper)
Maps the components of this tuple using a mapper function.
|
static <T1,T2,T3,T4,T5,T6,T7,T8,R> |
Function8.of(Function8<T1,T2,T3,T4,T5,T6,T7,T8,R> methodReference)
|
<U> U |
Tuple8.transform(Function8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends U> f)
Deprecated.
Use
Tuple8.apply(Function8) instead, will be removed in 3.0.0 |
<R> Iterator<R> |
API.For8.yield(Function8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R> f)
Yields a result for elements of the cross product of the underlying Iterables.
|
Modifier and Type | Method and Description |
---|---|
default Function8<T1,T2,T3,T4,T5,T6,T7,T8,R> |
CheckedFunction8.recover(Function<? super Throwable,? extends Function8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R>> recover)
Return a composed function that first applies this CheckedFunction8 to the given arguments and in case of throwable
try to get value from
recover function with same arguments and throwable information. |
Modifier and Type | Method and Description |
---|---|
<R> Validation<List<E>,R> |
Validation.Builder8.ap(Function8<T1,T2,T3,T4,T5,T6,T7,T8,R> f) |
Copyright © 2016. All Rights Reserved.