Additional top-level class in compilation unit: CheckedFunction4Module.
| Modifier and Type | Field and Description |
|---|---|
| public static final long |
| Modifier and Type | Method and Description |
|---|---|
| public default < return type of after V> CheckedFunction4 | Returns: a function composed of this and afterthe function applied after this after)Returns a composed function that first applies this CheckedFunction4 to the given argument and then applies
CheckedFunction1 |
| public R | Returns: the result of function applicationargument 1 t1, T2 argument 2 t2, T3 argument 3 t3, T4 argument 4 t4)Applies this function to 4 arguments and returns the result. |
| public default CheckedFunction3 | Returns: a partial application of this functionargument 1 t1)Applies this function partially to one argument. |
| public default CheckedFunction2 | Returns: a partial application of this functionargument 1 t1, T2 argument 2 t2)Applies this function partially to two arguments. |
| public default CheckedFunction1 | Returns: a partial application of this functionargument 1 t1, T2 argument 2 t2, T3 argument 3 t3)Applies this function partially to three arguments. |
| public default int | |
| public static < generic parameter type 1 of the resulting function T1, generic parameter type 2 of the resulting function T2, generic parameter type 3 of the resulting function T3, generic parameter type 4 of the resulting function T4, the result type R> CheckedFunction4 | Returns: a function always returning the given valuethe value to be returned value)Returns a function that always returns the constant value that you give in parameter. |
| public default Function1 | |
| public default boolean | Returns: true, if this function is memoizing, false otherwiseChecks if this function is memoizing (= caching) computed values. |
| public static < 1st argument T1, 2nd argument T2, 3rd argument T3, 4th argument T4, return type R> Function4 | Returns: a function that applies arguments to the givenpartialFunction and returns Some(result)
if the function is defined for the given arguments, and None otherwise.a function that is not defined for all values of the domain (e.g. by throwing) partialFunction)Lifts the given |
| public static < 1st argument T1, 2nd argument T2, 3rd argument T3, 4th argument T4, return type R> Function4 | Returns: a function that applies arguments to the givenpartialFunction and returns Success(result)
if the function is defined for the given arguments, and Failure(throwable) otherwise.a function that is not defined for all values of the domain (e.g. by throwing) partialFunction)Lifts the given |
| public default CheckedFunction4 | Returns: a memoizing function equivalent to this.Returns a memoizing version of this function, which computes the return value for given arguments only one time. |
| public static < 1st argument T1, 2nd argument T2, 3rd argument T3, 4th argument T4, return type R> CheckedFunction4 | Returns: the givenf instance as narrowed type CheckedFunction4<T1, T2, T3, T4, R>A f)CheckedFunction4Narrows the given |
| public static < 1st argument T1, 2nd argument T2, 3rd argument T3, 4th argument T4, return type R> CheckedFunction4 | Returns: aCheckedFunction4(typically) a method reference, e.g. methodReference)Type::methodCreates a |
| public default Function4 | Returns: a function composed of this and recoverthe function applied in case of throwable recover)Return a composed function that first applies this CheckedFunction4 to the given arguments and in case of throwable
try to get value from |
| public default CheckedFunction4 | Returns: a reversed function equivalent to this.Returns a reversed version of this function. |
| public default CheckedFunction1 | |
| public default Function4 | Returns: a new Function4 that throws aThrowable.Returns an unchecked function that will sneaky throw if an exceptions occurs when applying the function. |
| serialVersionUID | back to summary |
|---|---|
| public static final long serialVersionUID The serial version uid. | |
| andThen | back to summary |
|---|---|
| public default <V> CheckedFunction4 Returns a composed function that first applies this CheckedFunction4 to the given argument and then applies
CheckedFunction1
| |
| apply | back to summary |
|---|---|
| public R apply(T1 t1, T2 t2, T3 t3, T4 t4) throws Throwable Applies this function to 4 arguments and returns the result.
| |
| apply | back to summary |
|---|---|
| public default CheckedFunction3 Applies this function partially to one argument.
| |
| apply | back to summary |
|---|---|
| public default CheckedFunction2 Applies this function partially to two arguments.
| |
| apply | back to summary |
|---|---|
| public default CheckedFunction1 Applies this function partially to three arguments.
| |
| arity | back to summary |
|---|---|
| public default int arity() Returns the number of function arguments.
| |
| constant | back to summary |
|---|---|
| public static <T1, T2, T3, T4, R> CheckedFunction4 Returns a function that always returns the constant value that you give in parameter.
| |
| curried | back to summary |
|---|---|
| public default Function1 Returns a curried version of this function.
| |
| isMemoized | back to summary |
|---|---|
| public default boolean isMemoized() Checks if this function is memoizing (= caching) computed values.
| |
| lift | back to summary |
|---|---|
| public static <T1, T2, T3, T4, R> Function4 Lifts the given
| |
| liftTry | back to summary |
|---|---|
| public static <T1, T2, T3, T4, R> Function4 Lifts the given
| |
| memoized | back to summary |
|---|---|
| public default CheckedFunction4 Returns a memoizing version of this function, which computes the return value for given arguments only one time. On subsequent calls given the same arguments the memoized value is returned.
Please note that memoizing functions do not permit
| |
| narrow | back to summary |
|---|---|
| public static <T1, T2, T3, T4, R> CheckedFunction4 Narrows the given
| |
| of | back to summary |
|---|---|
| public static <T1, T2, T3, T4, R> CheckedFunction4 Creates a Caution Reflection loses type information of lambda references.
| |
| recover | back to summary |
|---|---|
| public default Function4 Return a composed function that first applies this CheckedFunction4 to the given arguments and in case of throwable
try to get value from
| |
| reversed | back to summary |
|---|---|
| public default CheckedFunction4 Returns a reversed version of this function. This may be useful in a recursive context.
| |
| tupled | back to summary |
|---|---|
| public default CheckedFunction1 Returns a tupled version of this function.
| |
| unchecked | back to summary |
|---|---|
| public default Function4 Returns an unchecked function that will sneaky throw if an exceptions occurs when applying the function.
| |