| 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 LLongBinaryOperator |
LBiLongFunction.thenToLong(LToLongFunction<? super R> after)
Combines two functions together in a order.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
LLongBinaryOperator.LLongBinaryOperatorSingle |
| Modifier and Type | Method and Description |
|---|---|
static LLongBinaryOperator |
LLongBinaryOperator.apply1stAsLong(LLongUnaryOperator func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static LLongBinaryOperator |
LLongBinaryOperator.apply2ndAsLong(LLongUnaryOperator func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
default LLongBinaryOperator |
LLongBinaryOperator.compose(LLongUnaryOperator before1,
LLongUnaryOperator before2)
Allows to manipulate the domain of the function.
|
static LLongBinaryOperator |
LLongBinaryOperator.composed(LLongUnaryOperator before1,
LLongUnaryOperator before2,
LLongBinaryOperator after) |
static LLongBinaryOperator |
LLongBinaryOperator.constant(long r)
Creates function that always returns the same value.
|
static LLongBinaryOperator |
LLongBinaryOperator.failSafe(LLongBinaryOperator func,
LLongBinaryOperator failSafe) |
default LLongBinaryOperator |
LLongBinaryOperator.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
static LLongBinaryOperator |
LLongBinaryOperator.longBinaryOp(LLongBinaryOperator lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static LLongBinaryOperator |
LLongBinaryOperator.longBinaryOpThrowing(ExF<Throwable> exF) |
static LLongBinaryOperator |
LLongBinaryOperator.longBinaryOpThrowing(String message,
ExMF<Throwable> exF) |
static LLongBinaryOperator |
LLongBinaryOperator.max()
Returns function that returns the higher value.
|
static LLongBinaryOperator |
LLongBinaryOperator.maxBy(Comparator<Long> comparator)
Creates function that returns the lesser value according to the comparator.
|
static LLongBinaryOperator |
LLongBinaryOperator.min()
Returns function that returns the lower value.
|
static LLongBinaryOperator |
LLongBinaryOperator.minBy(Comparator<Long> comparator)
Creates function that returns the lesser value according to the comparator.
|
static LLongBinaryOperator |
LLongBinaryOperator.recursive(LFunction<LLongBinaryOperator,LLongBinaryOperator> selfLambda) |
static LLongBinaryOperator |
LLongBinaryOperator.safe()
Safe instance.
|
static LLongBinaryOperator |
LLongBinaryOperator.safe(LLongBinaryOperator other)
Safe wrapping.
|
default LLongBinaryOperator |
LLongBinaryOperator.thenToLong(LLongUnaryOperator after)
Combines two functions together in a order.
|
default LLongBinaryOperator |
LLongBinaryOperator.trying(ExWF<RuntimeException> exF) |
default LLongBinaryOperator |
LLongBinaryOperator.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LLongBinaryOperator |
LLongBinaryOperator.tryingThen(LToLongFunction<Throwable> handler) |
static LLongBinaryOperator |
LLongBinaryOperator.uncurry(LLongFunction<LLongUnaryOperator> func) |
LLongBinaryOperator |
LLongBinaryOperator.LLongBinaryOperatorSingle.value() |
static LLongBinaryOperator |
LLongBinaryOperator.wrap(java.util.function.LongBinaryOperator other)
Wraps JRE instance.
|
| Modifier and Type | Method and Description |
|---|---|
static LSupplier<LLongBinaryOperator> |
LLongBinaryOperator.safeSupplier()
Safe instance supplier.
|
static LSupplier<LLongBinaryOperator> |
LLongBinaryOperator.safeSupplier(LSupplier<LLongBinaryOperator> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
static long |
LLongBinaryOperator.call(long a1,
long a2,
LLongBinaryOperator lambda) |
static LLongBinaryOperator |
LLongBinaryOperator.composed(LLongUnaryOperator before1,
LLongUnaryOperator before2,
LLongBinaryOperator after) |
static <V1,V2> LToLongBiFunction<V1,V2> |
LLongBinaryOperator.composed(LToLongFunction<? super V1> before1,
LToLongFunction<? super V2> before2,
LLongBinaryOperator after) |
static LLongBinaryOperator |
LLongBinaryOperator.failSafe(LLongBinaryOperator func,
LLongBinaryOperator failSafe) |
default long |
LLongBinaryOperator.failSafeApplyAsLong(long a1,
long a2,
LLongBinaryOperator failSafe) |
static long |
LLongBinaryOperator.failSafeApplyAsLong(long a1,
long a2,
LLongBinaryOperator func,
LLongBinaryOperator failSafe) |
static void |
LLongBinaryOperator.fromTill(int min_i,
int max_i,
long a1,
long a2,
LLongBinaryOperator func)
From-To.
|
static void |
LLongBinaryOperator.fromTo(int min_i,
int max_i,
long a1,
long a2,
LLongBinaryOperator func)
From-To.
|
static long |
LLongBinaryOperator.handlingApplyAsLong(long a1,
long a2,
LLongBinaryOperator func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static LLongBinaryOperator |
LLongBinaryOperator.longBinaryOp(LLongBinaryOperator lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static LLongUnaryOperator |
LLongBinaryOperator.lShrinked(LLongUnaryOperator left,
LLongBinaryOperator func) |
static LLongUnaryOperator |
LLongBinaryOperator.lShrinkedc(long a1,
LLongBinaryOperator func) |
static LLongUnaryOperator |
LLongBinaryOperator.rShrinked(LLongUnaryOperator right,
LLongBinaryOperator func) |
static LLongUnaryOperator |
LLongBinaryOperator.rShrinkedc(long a2,
LLongBinaryOperator func) |
static LLongBinaryOperator |
LLongBinaryOperator.safe(LLongBinaryOperator other)
Safe wrapping.
|
static void |
LLongBinaryOperator.times(int max_i,
long a1,
long a2,
LLongBinaryOperator func)
From-To.
|
static long |
LLongBinaryOperator.tryApplyAsLong(long a1,
long a2,
LLongBinaryOperator func) |
static long |
LLongBinaryOperator.tryApplyAsLong(long a1,
long a2,
LLongBinaryOperator func,
ExWF<RuntimeException> exF) |
static long |
LLongBinaryOperator.tryApplyAsLong(long a1,
long a2,
LLongBinaryOperator func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static long |
LLongBinaryOperator.tryApplyAsLongThen(long a1,
long a2,
LLongBinaryOperator func,
LToLongFunction<Throwable> handler) |
| Modifier and Type | Method and Description |
|---|---|
static LLongBinaryOperator |
LLongBinaryOperator.recursive(LFunction<LLongBinaryOperator,LLongBinaryOperator> selfLambda) |
static LLongBinaryOperator |
LLongBinaryOperator.recursive(LFunction<LLongBinaryOperator,LLongBinaryOperator> selfLambda) |
static LSupplier<LLongBinaryOperator> |
LLongBinaryOperator.safeSupplier(LSupplier<LLongBinaryOperator> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default LLongBinaryOperator |
LBiLongPredicate.boolToLongBinaryOp(LBoolToLongFunction after)
Combines two functions together in a order.
|
Copyright © 2019. All rights reserved.