| Package | Description |
|---|---|
| eu.lunisolar.magma.func.consumer.primitives.obj | |
| eu.lunisolar.magma.func.function.from | |
| eu.lunisolar.magma.func.predicate |
| Modifier and Type | Method and Description |
|---|---|
default LObjByteConsumer<T2> |
LBiObjByteConsumer.lShrink(LObjByteFunction<T2,T1> left) |
static <T2,T1> LObjByteConsumer<T2> |
LBiObjByteConsumer.lShrinked(LObjByteFunction<T2,T1> left,
LBiObjByteConsumer<T1,T2> func) |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LObjByteFunction.LByteObjFunc<T,R>
Permutation of LObjByteFunction for method references.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
LObjByteFunction.LObjByteFunctionSingle<T,R> |
| Modifier and Type | Method and Description |
|---|---|
default LObjByteFunction<T,R> |
LObjByteFunction.after(LConsumer<? super R> after) |
static <T,R> LObjByteFunction<T,R> |
LObjByteFunction.apply1st(LFunction<T,R> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <T,R> LObjByteFunction<T,R> |
LObjByteFunction.apply2nd(LByteFunction<R> func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
default LObjByteFunction<T,R> |
LObjByteFunction.before(LObjByteConsumer<? super T> before) |
default <V2,V3> LObjByteFunction<V2,V3> |
LObjByteFunction.cast()
Cast that replace generics.
|
static <V2,V3,T,R> |
LObjByteFunction.cast(LObjByteFunction<T,R> function)
Cast that replace generics.
|
default <V1> LObjByteFunction<V1,R> |
LObjByteFunction.compose(LFunction<? super V1,? extends T> before1,
LByteUnaryOperator before2)
Allows to manipulate the domain of the function.
|
static <V1,T,R> LObjByteFunction<V1,R> |
LObjByteFunction.composed(LFunction<? super V1,? extends T> before1,
LByteUnaryOperator before2,
LObjByteFunction<T,R> after) |
static <T,R> LObjByteFunction<T,R> |
LObjByteFunction.constant(R r)
Creates function that always returns the same value.
|
static <T,R> LObjByteFunction<T,R> |
LObjByteFunction.failSafe(LObjByteFunction<T,R> func,
LObjByteFunction<T,R> failSafe) |
default LObjByteFunction<T,R> |
LObjByteFunction.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
default LObjByteFunction<T2,R> |
LBiObjByteFunction.lShrink(LObjByteFunction<T2,T1> left) |
default LObjByteFunction<T2,R> |
LBiObjByteFunction.lShrinkc(T1 a1) |
static <T2,R,T1> LObjByteFunction<T2,R> |
LBiObjByteFunction.lShrinked(LObjByteFunction<T2,T1> left,
LBiObjByteFunction<T1,T2,R> func) |
static <T2,R,T1> LObjByteFunction<T2,R> |
LBiObjByteFunction.lShrinkedc(T1 a1,
LBiObjByteFunction<T1,T2,R> func) |
default LObjByteFunction<T,R> |
LObjByteFunction.nonNullable()
Converts to function that makes sure that the result is not null.
|
static <T,R> LObjByteFunction<T,R> |
LObjByteFunction.objByteFunc(LObjByteFunction<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> LObjByteFunction<T,R> |
LObjByteFunction.objByteFuncThrowing(ExF<Throwable> exF) |
static <T,R> LObjByteFunction<T,R> |
LObjByteFunction.objByteFuncThrowing(String message,
ExMF<Throwable> exF) |
static <T,R> LObjByteFunction<T,R> |
LObjByteFunction.recursive(LFunction<LObjByteFunction<T,R>,LObjByteFunction<T,R>> selfLambda) |
static <T,R> LObjByteFunction<T,R> |
LObjByteFunction.safe()
Safe instance.
|
static <T,R> LObjByteFunction<T,R> |
LObjByteFunction.safe(LObjByteFunction<T,R> other)
Safe wrapping.
|
default <V> LObjByteFunction<T,V> |
LObjByteFunction.then(LFunction<? super R,? extends V> after)
Combines two functions together in a order.
|
default LObjByteFunction<T,R> |
LObjByteFunction.trying(ExWF<RuntimeException> exF) |
default LObjByteFunction<T,R> |
LObjByteFunction.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LObjByteFunction<T,R> |
LObjByteFunction.tryingThen(LFunction<Throwable,R> handler) |
static <T,R> LObjByteFunction<T,R> |
LObjByteFunction.uncurry(LFunction<T,LByteFunction<R>> func) |
default LObjByteFunction |
LObjByteFunction.untyped()
Cast that removes generics.
|
LObjByteFunction<T,R> |
LObjByteFunction.LObjByteFunctionSingle.value() |
| Modifier and Type | Method and Description |
|---|---|
static <T,R> LSupplier<LObjByteFunction<T,R>> |
LObjByteFunction.safeSupplier()
Safe instance supplier.
|
static <T,R> LSupplier<LObjByteFunction<T,R>> |
LObjByteFunction.safeSupplier(LSupplier<LObjByteFunction<T,R>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
static <T,R> R |
LObjByteFunction.call(T a1,
byte a2,
LObjByteFunction<T,R> lambda) |
static <V2,V3,T,R> |
LObjByteFunction.cast(LObjByteFunction<T,R> function)
Cast that replace generics.
|
static <V1,T,R> LObjByteFunction<V1,R> |
LObjByteFunction.composed(LFunction<? super V1,? extends T> before1,
LByteUnaryOperator before2,
LObjByteFunction<T,R> after) |
static <V1,V2,T,R> |
LObjByteFunction.composed(LFunction<? super V1,? extends T> before1,
LToByteFunction<? super V2> before2,
LObjByteFunction<T,R> after) |
static <T,R> LObjByteFunction<T,R> |
LObjByteFunction.failSafe(LObjByteFunction<T,R> func,
LObjByteFunction<T,R> failSafe) |
static <T,R> LObjByteFunction<T,R> |
LObjByteFunction.failSafe(LObjByteFunction<T,R> func,
LObjByteFunction<T,R> failSafe) |
default R |
LObjByteFunction.failSafeApply(T a1,
byte a2,
LObjByteFunction<T,R> failSafe) |
static <T,R> R |
LObjByteFunction.failSafeApply(T a1,
byte a2,
LObjByteFunction<T,R> func,
LObjByteFunction<T,R> failSafe) |
static <T,R> R |
LObjByteFunction.failSafeApply(T a1,
byte a2,
LObjByteFunction<T,R> func,
LObjByteFunction<T,R> failSafe) |
static <T,R> void |
LObjByteFunction.fromTill(int min_i,
int max_i,
T a1,
byte a2,
LObjByteFunction<T,R> func)
From-To.
|
static <T,R> void |
LObjByteFunction.fromTo(int min_i,
int max_i,
T a1,
byte a2,
LObjByteFunction<T,R> func)
From-To.
|
static <T,R> R |
LObjByteFunction.handlingApply(T a1,
byte a2,
LObjByteFunction<T,R> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
default LObjByteFunction<T2,R> |
LBiObjByteFunction.lShrink(LObjByteFunction<T2,T1> left) |
static <R,T> LByteFunction<R> |
LObjByteFunction.lShrinked(LByteFunction<T> left,
LObjByteFunction<T,R> func) |
static <T2,R,T1> LObjByteFunction<T2,R> |
LBiObjByteFunction.lShrinked(LObjByteFunction<T2,T1> left,
LBiObjByteFunction<T1,T2,R> func) |
static <R,T> LByteFunction<R> |
LObjByteFunction.lShrinkedc(T a1,
LObjByteFunction<T,R> func) |
static <T,R> LObjByteFunction<T,R> |
LObjByteFunction.objByteFunc(LObjByteFunction<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> LFunction<T,R> |
LObjByteFunction.rShrinked(LToByteFunction<T> right,
LObjByteFunction<T,R> func) |
static <T,R> LFunction<T,R> |
LObjByteFunction.rShrinkedc(byte a2,
LObjByteFunction<T,R> func) |
static <T,R> LObjByteFunction<T,R> |
LObjByteFunction.safe(LObjByteFunction<T,R> other)
Safe wrapping.
|
static <T,R> void |
LObjByteFunction.times(int max_i,
T a1,
byte a2,
LObjByteFunction<T,R> func)
From-To.
|
static <T,R> R |
LObjByteFunction.tryApply(T a1,
byte a2,
LObjByteFunction<T,R> func) |
static <T,R> R |
LObjByteFunction.tryApply(T a1,
byte a2,
LObjByteFunction<T,R> func,
ExWF<RuntimeException> exF) |
static <T,R> R |
LObjByteFunction.tryApply(T a1,
byte a2,
LObjByteFunction<T,R> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T,R> R |
LObjByteFunction.tryApplyThen(T a1,
byte a2,
LObjByteFunction<T,R> func,
LFunction<Throwable,R> handler) |
| Modifier and Type | Method and Description |
|---|---|
static <T,R> LObjByteFunction<T,R> |
LObjByteFunction.recursive(LFunction<LObjByteFunction<T,R>,LObjByteFunction<T,R>> selfLambda) |
static <T,R> LObjByteFunction<T,R> |
LObjByteFunction.recursive(LFunction<LObjByteFunction<T,R>,LObjByteFunction<T,R>> selfLambda) |
static <T,R> LSupplier<LObjByteFunction<T,R>> |
LObjByteFunction.safeSupplier(LSupplier<LObjByteFunction<T,R>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default <V> LObjByteFunction<T,V> |
LObjBytePredicate.boolToObjByteFunc(LBoolFunction<? extends V> after)
Combines two functions together in a order.
|
| Modifier and Type | Method and Description |
|---|---|
default LObjBytePredicate<T2> |
LBiObjBytePredicate.lShrink(LObjByteFunction<T2,T1> left) |
static <T2,T1> LObjBytePredicate<T2> |
LBiObjBytePredicate.lShrinked(LObjByteFunction<T2,T1> left,
LBiObjBytePredicate<T1,T2> func) |
Copyright © 2019. All rights reserved.