| Package | Description |
|---|---|
| eu.lunisolar.magma.func.function.from | |
| eu.lunisolar.magma.func.operator.binary | |
| eu.lunisolar.magma.func.predicate |
| Modifier and Type | Method and Description |
|---|---|
default LFltBinaryOperator |
LBiFltFunction.thenToFlt(LToFltFunction<? super R> after)
Combines two functions together in a order.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
LFltBinaryOperator.LFltBinaryOperatorSingle |
| Modifier and Type | Method and Description |
|---|---|
static LFltBinaryOperator |
LFltBinaryOperator.apply1stAsFlt(LFltUnaryOperator func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static LFltBinaryOperator |
LFltBinaryOperator.apply2ndAsFlt(LFltUnaryOperator func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
default LFltBinaryOperator |
LFltBinaryOperator.compose(LFltUnaryOperator before1,
LFltUnaryOperator before2)
Allows to manipulate the domain of the function.
|
static LFltBinaryOperator |
LFltBinaryOperator.composed(LFltUnaryOperator before1,
LFltUnaryOperator before2,
LFltBinaryOperator after) |
static LFltBinaryOperator |
LFltBinaryOperator.constant(float r)
Creates function that always returns the same value.
|
static LFltBinaryOperator |
LFltBinaryOperator.failSafe(LFltBinaryOperator func,
LFltBinaryOperator failSafe) |
static LFltBinaryOperator |
LFltBinaryOperator.fltBinaryOp(LFltBinaryOperator lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static LFltBinaryOperator |
LFltBinaryOperator.fltBinaryOpThrowing(ExF<Throwable> exF) |
static LFltBinaryOperator |
LFltBinaryOperator.fltBinaryOpThrowing(String message,
ExMF<Throwable> exF) |
default LFltBinaryOperator |
LFltBinaryOperator.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
static LFltBinaryOperator |
LFltBinaryOperator.max()
Returns function that returns the higher value.
|
static LFltBinaryOperator |
LFltBinaryOperator.maxBy(Comparator<Float> comparator)
Creates function that returns the lesser value according to the comparator.
|
static LFltBinaryOperator |
LFltBinaryOperator.min()
Returns function that returns the lower value.
|
static LFltBinaryOperator |
LFltBinaryOperator.minBy(Comparator<Float> comparator)
Creates function that returns the lesser value according to the comparator.
|
static LFltBinaryOperator |
LFltBinaryOperator.recursive(LFunction<LFltBinaryOperator,LFltBinaryOperator> selfLambda) |
static LFltBinaryOperator |
LFltBinaryOperator.safe()
Safe instance.
|
static LFltBinaryOperator |
LFltBinaryOperator.safe(LFltBinaryOperator other)
Safe wrapping.
|
default LFltBinaryOperator |
LFltBinaryOperator.thenToFlt(LFltUnaryOperator after)
Combines two functions together in a order.
|
default LFltBinaryOperator |
LFltBinaryOperator.trying(ExWF<RuntimeException> exF) |
default LFltBinaryOperator |
LFltBinaryOperator.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LFltBinaryOperator |
LFltBinaryOperator.tryingThen(LToFltFunction<Throwable> handler) |
static LFltBinaryOperator |
LFltBinaryOperator.uncurry(LFltFunction<LFltUnaryOperator> func) |
LFltBinaryOperator |
LFltBinaryOperator.LFltBinaryOperatorSingle.value() |
| Modifier and Type | Method and Description |
|---|---|
static LSupplier<LFltBinaryOperator> |
LFltBinaryOperator.safeSupplier()
Safe instance supplier.
|
static LSupplier<LFltBinaryOperator> |
LFltBinaryOperator.safeSupplier(LSupplier<LFltBinaryOperator> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
static float |
LFltBinaryOperator.call(float a1,
float a2,
LFltBinaryOperator lambda) |
static LFltBinaryOperator |
LFltBinaryOperator.composed(LFltUnaryOperator before1,
LFltUnaryOperator before2,
LFltBinaryOperator after) |
static <V1,V2> LToFltBiFunction<V1,V2> |
LFltBinaryOperator.composed(LToFltFunction<? super V1> before1,
LToFltFunction<? super V2> before2,
LFltBinaryOperator after) |
static LFltBinaryOperator |
LFltBinaryOperator.failSafe(LFltBinaryOperator func,
LFltBinaryOperator failSafe) |
default float |
LFltBinaryOperator.failSafeApplyAsFlt(float a1,
float a2,
LFltBinaryOperator failSafe) |
static float |
LFltBinaryOperator.failSafeApplyAsFlt(float a1,
float a2,
LFltBinaryOperator func,
LFltBinaryOperator failSafe) |
static LFltBinaryOperator |
LFltBinaryOperator.fltBinaryOp(LFltBinaryOperator lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static void |
LFltBinaryOperator.fromTill(int min_i,
int max_i,
float a1,
float a2,
LFltBinaryOperator func)
From-To.
|
static void |
LFltBinaryOperator.fromTo(int min_i,
int max_i,
float a1,
float a2,
LFltBinaryOperator func)
From-To.
|
static float |
LFltBinaryOperator.handlingApplyAsFlt(float a1,
float a2,
LFltBinaryOperator func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static LFltUnaryOperator |
LFltBinaryOperator.lShrinked(LFltUnaryOperator left,
LFltBinaryOperator func) |
static LFltUnaryOperator |
LFltBinaryOperator.lShrinkedc(float a1,
LFltBinaryOperator func) |
static LFltUnaryOperator |
LFltBinaryOperator.rShrinked(LFltUnaryOperator right,
LFltBinaryOperator func) |
static LFltUnaryOperator |
LFltBinaryOperator.rShrinkedc(float a2,
LFltBinaryOperator func) |
static LFltBinaryOperator |
LFltBinaryOperator.safe(LFltBinaryOperator other)
Safe wrapping.
|
static void |
LFltBinaryOperator.times(int max_i,
float a1,
float a2,
LFltBinaryOperator func)
From-To.
|
static float |
LFltBinaryOperator.tryApplyAsFlt(float a1,
float a2,
LFltBinaryOperator func) |
static float |
LFltBinaryOperator.tryApplyAsFlt(float a1,
float a2,
LFltBinaryOperator func,
ExWF<RuntimeException> exF) |
static float |
LFltBinaryOperator.tryApplyAsFlt(float a1,
float a2,
LFltBinaryOperator func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static float |
LFltBinaryOperator.tryApplyAsFltThen(float a1,
float a2,
LFltBinaryOperator func,
LToFltFunction<Throwable> handler) |
| Modifier and Type | Method and Description |
|---|---|
static LFltBinaryOperator |
LFltBinaryOperator.recursive(LFunction<LFltBinaryOperator,LFltBinaryOperator> selfLambda) |
static LFltBinaryOperator |
LFltBinaryOperator.recursive(LFunction<LFltBinaryOperator,LFltBinaryOperator> selfLambda) |
static LSupplier<LFltBinaryOperator> |
LFltBinaryOperator.safeSupplier(LSupplier<LFltBinaryOperator> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default LFltBinaryOperator |
LBiFltPredicate.boolToFltBinaryOp(LBoolToFltFunction after)
Combines two functions together in a order.
|
Copyright © 2019. All rights reserved.