| Package | Description |
|---|---|
| eu.lunisolar.magma.func.function.from | |
| eu.lunisolar.magma.func.function.to | |
| eu.lunisolar.magma.func.operator.binary | |
| eu.lunisolar.magma.func.predicate |
| Modifier and Type | Method and Description |
|---|---|
default LIntBinaryOperator |
LBiIntFunction.thenToInt(LToIntFunction<? super R> after)
Combines two functions together in a order.
|
| Modifier and Type | Method and Description |
|---|---|
default LIntBinaryOperator |
LTieIntFunction.lShrink(LBiIntFunction<T> left) |
default LIntBinaryOperator |
LTieIntFunction.lShrinkc(T a1) |
static <T> LIntBinaryOperator |
LTieIntFunction.lShrinked(LBiIntFunction<T> left,
LTieIntFunction<T> func) |
static <T> LIntBinaryOperator |
LTieIntFunction.lShrinkedc(T a1,
LTieIntFunction<T> func) |
| Modifier and Type | Class and Description |
|---|---|
static class |
LIntBinaryOperator.LIntBinaryOperatorSingle |
| Modifier and Type | Method and Description |
|---|---|
static LIntBinaryOperator |
LIntBinaryOperator.apply1stAsInt(LIntUnaryOperator func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static LIntBinaryOperator |
LIntBinaryOperator.apply2ndAsInt(LIntUnaryOperator func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
default LIntBinaryOperator |
LIntBinaryOperator.compose(LIntUnaryOperator before1,
LIntUnaryOperator before2)
Allows to manipulate the domain of the function.
|
static LIntBinaryOperator |
LIntBinaryOperator.composed(LIntUnaryOperator before1,
LIntUnaryOperator before2,
LIntBinaryOperator after) |
static LIntBinaryOperator |
LIntBinaryOperator.constant(int r)
Creates function that always returns the same value.
|
static LIntBinaryOperator |
LIntBinaryOperator.failSafe(LIntBinaryOperator func,
LIntBinaryOperator failSafe) |
default LIntBinaryOperator |
LIntBinaryOperator.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
static LIntBinaryOperator |
LIntBinaryOperator.intBinaryOp(LIntBinaryOperator lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static LIntBinaryOperator |
LIntBinaryOperator.intBinaryOpThrowing(ExF<Throwable> exF) |
static LIntBinaryOperator |
LIntBinaryOperator.intBinaryOpThrowing(String message,
ExMF<Throwable> exF) |
static LIntBinaryOperator |
LIntBinaryOperator.max()
Returns function that returns the higher value.
|
static LIntBinaryOperator |
LIntBinaryOperator.maxBy(Comparator<Integer> comparator)
Creates function that returns the lesser value according to the comparator.
|
static LIntBinaryOperator |
LIntBinaryOperator.min()
Returns function that returns the lower value.
|
static LIntBinaryOperator |
LIntBinaryOperator.minBy(Comparator<Integer> comparator)
Creates function that returns the lesser value according to the comparator.
|
static LIntBinaryOperator |
LIntBinaryOperator.recursive(LFunction<LIntBinaryOperator,LIntBinaryOperator> selfLambda) |
static LIntBinaryOperator |
LIntBinaryOperator.safe()
Safe instance.
|
static LIntBinaryOperator |
LIntBinaryOperator.safe(LIntBinaryOperator other)
Safe wrapping.
|
default LIntBinaryOperator |
LIntBinaryOperator.thenToInt(LIntUnaryOperator after)
Combines two functions together in a order.
|
default LIntBinaryOperator |
LIntBinaryOperator.trying(ExWF<RuntimeException> exF) |
default LIntBinaryOperator |
LIntBinaryOperator.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LIntBinaryOperator |
LIntBinaryOperator.tryingThen(LToIntFunction<Throwable> handler) |
static LIntBinaryOperator |
LIntBinaryOperator.uncurry(LIntFunction<LIntUnaryOperator> func) |
LIntBinaryOperator |
LIntBinaryOperator.LIntBinaryOperatorSingle.value() |
static LIntBinaryOperator |
LIntBinaryOperator.wrap(java.util.function.IntBinaryOperator other)
Wraps JRE instance.
|
| Modifier and Type | Method and Description |
|---|---|
static LSupplier<LIntBinaryOperator> |
LIntBinaryOperator.safeSupplier()
Safe instance supplier.
|
static LSupplier<LIntBinaryOperator> |
LIntBinaryOperator.safeSupplier(LSupplier<LIntBinaryOperator> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
LIntBinaryOperator.call(int a1,
int a2,
LIntBinaryOperator lambda) |
static LIntBinaryOperator |
LIntBinaryOperator.composed(LIntUnaryOperator before1,
LIntUnaryOperator before2,
LIntBinaryOperator after) |
static <V1,V2> LToIntBiFunction<V1,V2> |
LIntBinaryOperator.composed(LToIntFunction<? super V1> before1,
LToIntFunction<? super V2> before2,
LIntBinaryOperator after) |
static LIntBinaryOperator |
LIntBinaryOperator.failSafe(LIntBinaryOperator func,
LIntBinaryOperator failSafe) |
default int |
LIntBinaryOperator.failSafeApplyAsInt(int a1,
int a2,
LIntBinaryOperator failSafe) |
static int |
LIntBinaryOperator.failSafeApplyAsInt(int a1,
int a2,
LIntBinaryOperator func,
LIntBinaryOperator failSafe) |
static void |
LIntBinaryOperator.fromTill(int min_i,
int max_i,
int a1,
int a2,
LIntBinaryOperator func)
From-To.
|
static void |
LIntBinaryOperator.fromTo(int min_i,
int max_i,
int a1,
int a2,
LIntBinaryOperator func)
From-To.
|
static int |
LIntBinaryOperator.handlingApplyAsInt(int a1,
int a2,
LIntBinaryOperator func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static LIntBinaryOperator |
LIntBinaryOperator.intBinaryOp(LIntBinaryOperator lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static LIntUnaryOperator |
LIntBinaryOperator.lShrinked(LIntUnaryOperator left,
LIntBinaryOperator func) |
static LIntUnaryOperator |
LIntBinaryOperator.lShrinkedc(int a1,
LIntBinaryOperator func) |
static LIntUnaryOperator |
LIntBinaryOperator.rShrinked(LIntUnaryOperator right,
LIntBinaryOperator func) |
static LIntUnaryOperator |
LIntBinaryOperator.rShrinkedc(int a2,
LIntBinaryOperator func) |
static LIntBinaryOperator |
LIntBinaryOperator.safe(LIntBinaryOperator other)
Safe wrapping.
|
static void |
LIntBinaryOperator.times(int max_i,
int a1,
int a2,
LIntBinaryOperator func)
From-To.
|
static int |
LIntBinaryOperator.tryApplyAsInt(int a1,
int a2,
LIntBinaryOperator func) |
static int |
LIntBinaryOperator.tryApplyAsInt(int a1,
int a2,
LIntBinaryOperator func,
ExWF<RuntimeException> exF) |
static int |
LIntBinaryOperator.tryApplyAsInt(int a1,
int a2,
LIntBinaryOperator func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static int |
LIntBinaryOperator.tryApplyAsIntThen(int a1,
int a2,
LIntBinaryOperator func,
LToIntFunction<Throwable> handler) |
| Modifier and Type | Method and Description |
|---|---|
static LIntBinaryOperator |
LIntBinaryOperator.recursive(LFunction<LIntBinaryOperator,LIntBinaryOperator> selfLambda) |
static LIntBinaryOperator |
LIntBinaryOperator.recursive(LFunction<LIntBinaryOperator,LIntBinaryOperator> selfLambda) |
static LSupplier<LIntBinaryOperator> |
LIntBinaryOperator.safeSupplier(LSupplier<LIntBinaryOperator> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default LIntBinaryOperator |
LBiIntPredicate.boolToIntBinaryOp(LBoolToIntFunction after)
Combines two functions together in a order.
|
Copyright © 2019. All rights reserved.