| Package | Description |
|---|---|
| eu.lunisolar.magma.func.function.from | |
| eu.lunisolar.magma.func.function.to | |
| eu.lunisolar.magma.func.predicate |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LObjIntSrtFunction.LIntObjSrtFunc<T,R>
Permutation of LObjIntSrtFunction for method references.
|
static interface |
LObjIntSrtFunction.LIntSrtObjFunc<T,R>
Permutation of LObjIntSrtFunction for method references.
|
static interface |
LObjIntSrtFunction.LObjSrtIntFunc<T,R>
Permutation of LObjIntSrtFunction for method references.
|
static interface |
LObjIntSrtFunction.LSrtIntObjFunc<T,R>
Permutation of LObjIntSrtFunction for method references.
|
static interface |
LObjIntSrtFunction.LSrtObjIntFunc<T,R>
Permutation of LObjIntSrtFunction for method references.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
LObjIntSrtFunction.LObjIntSrtFunctionSingle<T,R> |
| Modifier and Type | Method and Description |
|---|---|
default LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.after(LConsumer<? super R> after) |
static <T,R> LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.apply1st(LFunction<T,R> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <T,R> LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.apply2nd(LIntFunction<R> func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
static <T,R> LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.apply3rd(LSrtFunction<R> func)
Captures single parameter function into this interface where only 3rd parameter will be used.
|
default LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.before(LTieSrtConsumer<? super T> before) |
default <V2,V3> LObjIntSrtFunction<V2,V3> |
LObjIntSrtFunction.cast()
Cast that replace generics.
|
static <V2,V3,T,R> |
LObjIntSrtFunction.cast(LObjIntSrtFunction<T,R> function)
Cast that replace generics.
|
default <V1> LObjIntSrtFunction<V1,R> |
LObjIntSrtFunction.compose(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LSrtUnaryOperator before3)
Allows to manipulate the domain of the function.
|
static <V1,T,R> LObjIntSrtFunction<V1,R> |
LObjIntSrtFunction.composed(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LSrtUnaryOperator before3,
LObjIntSrtFunction<T,R> after) |
static <T,R> LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.constant(R r)
Creates function that always returns the same value.
|
static <T,R> LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.failSafe(LObjIntSrtFunction<T,R> func,
LObjIntSrtFunction<T,R> failSafe) |
default LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
default LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.nonNullable()
Converts to function that makes sure that the result is not null.
|
static <T,R> LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.objIntSrtFunc(LObjIntSrtFunction<T,R> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T,R> LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.objIntSrtFuncThrowing(ExF<Throwable> exF) |
static <T,R> LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.objIntSrtFuncThrowing(String message,
ExMF<Throwable> exF) |
static <T,R> LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.recursive(LFunction<LObjIntSrtFunction<T,R>,LObjIntSrtFunction<T,R>> selfLambda) |
static <T,R> LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.safe()
Safe instance.
|
static <T,R> LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.safe(LObjIntSrtFunction<T,R> other)
Safe wrapping.
|
default <V> LObjIntSrtFunction<T,V> |
LObjIntSrtFunction.then(LFunction<? super R,? extends V> after)
Combines two functions together in a order.
|
default LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.trying(ExWF<RuntimeException> exF) |
default LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.tryingThen(LFunction<Throwable,R> handler) |
static <T,R> LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.uncurry(LFunction<T,LIntFunction<LSrtFunction<R>>> func) |
default LObjIntSrtFunction |
LObjIntSrtFunction.untyped()
Cast that removes generics.
|
LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.LObjIntSrtFunctionSingle.value() |
| Modifier and Type | Method and Description |
|---|---|
static <T,R> LSupplier<LObjIntSrtFunction<T,R>> |
LObjIntSrtFunction.safeSupplier()
Safe instance supplier.
|
static <T,R> LSupplier<LObjIntSrtFunction<T,R>> |
LObjIntSrtFunction.safeSupplier(LSupplier<LObjIntSrtFunction<T,R>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
static <T,R> R |
LObjIntSrtFunction.call(T a1,
int a2,
short a3,
LObjIntSrtFunction<T,R> lambda) |
static <V2,V3,T,R> |
LObjIntSrtFunction.cast(LObjIntSrtFunction<T,R> function)
Cast that replace generics.
|
static <V1,T,R> LObjIntSrtFunction<V1,R> |
LObjIntSrtFunction.composed(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LSrtUnaryOperator before3,
LObjIntSrtFunction<T,R> after) |
static <V1,V2,V3,T,R> |
LObjIntSrtFunction.composed(LFunction<? super V1,? extends T> before1,
LToIntFunction<? super V2> before2,
LToSrtFunction<? super V3> before3,
LObjIntSrtFunction<T,R> after) |
static <T,R> LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.failSafe(LObjIntSrtFunction<T,R> func,
LObjIntSrtFunction<T,R> failSafe) |
static <T,R> LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.failSafe(LObjIntSrtFunction<T,R> func,
LObjIntSrtFunction<T,R> failSafe) |
default R |
LObjIntSrtFunction.failSafeApply(T a1,
int a2,
short a3,
LObjIntSrtFunction<T,R> failSafe) |
static <T,R> R |
LObjIntSrtFunction.failSafeApply(T a1,
int a2,
short a3,
LObjIntSrtFunction<T,R> func,
LObjIntSrtFunction<T,R> failSafe) |
static <T,R> R |
LObjIntSrtFunction.failSafeApply(T a1,
int a2,
short a3,
LObjIntSrtFunction<T,R> func,
LObjIntSrtFunction<T,R> failSafe) |
static <T,R> void |
LObjIntSrtFunction.fromTill(int min_a2,
int max_a2,
T a1,
short a3,
LObjIntSrtFunction<T,R> func)
From-To.
|
static <T,R> void |
LObjIntSrtFunction.fromTo(int min_a2,
int max_a2,
T a1,
short a3,
LObjIntSrtFunction<T,R> func)
From-To.
|
static <T,R> R |
LObjIntSrtFunction.handlingApply(T a1,
int a2,
short a3,
LObjIntSrtFunction<T,R> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <T,R> LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.objIntSrtFunc(LObjIntSrtFunction<T,R> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T,R> LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.safe(LObjIntSrtFunction<T,R> other)
Safe wrapping.
|
static <T,R> void |
LObjIntSrtFunction.times(int max_a2,
T a1,
short a3,
LObjIntSrtFunction<T,R> func)
From-To.
|
static <T,R> R |
LObjIntSrtFunction.tryApply(T a1,
int a2,
short a3,
LObjIntSrtFunction<T,R> func) |
static <T,R> R |
LObjIntSrtFunction.tryApply(T a1,
int a2,
short a3,
LObjIntSrtFunction<T,R> func,
ExWF<RuntimeException> exF) |
static <T,R> R |
LObjIntSrtFunction.tryApply(T a1,
int a2,
short a3,
LObjIntSrtFunction<T,R> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T,R> R |
LObjIntSrtFunction.tryApplyThen(T a1,
int a2,
short a3,
LObjIntSrtFunction<T,R> func,
LFunction<Throwable,R> handler) |
| Modifier and Type | Method and Description |
|---|---|
static <T,R> LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.recursive(LFunction<LObjIntSrtFunction<T,R>,LObjIntSrtFunction<T,R>> selfLambda) |
static <T,R> LObjIntSrtFunction<T,R> |
LObjIntSrtFunction.recursive(LFunction<LObjIntSrtFunction<T,R>,LObjIntSrtFunction<T,R>> selfLambda) |
static <T,R> LSupplier<LObjIntSrtFunction<T,R>> |
LObjIntSrtFunction.safeSupplier(LSupplier<LObjIntSrtFunction<T,R>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default <V> LObjIntSrtFunction<T,V> |
LTieSrtFunction.then(LIntFunction<? extends V> after)
Combines two functions together in a order.
|
| Modifier and Type | Method and Description |
|---|---|
default <V> LObjIntSrtFunction<T,V> |
LObjIntSrtPredicate.boolToObjIntSrtFunc(LBoolFunction<? extends V> after)
Combines two functions together in a order.
|
Copyright © 2019. All rights reserved.