| 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 LByteBinaryOperator |
LBiByteFunction.thenToByte(LToByteFunction<? super R> after)
Combines two functions together in a order.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
LByteBinaryOperator.LByteBinaryOperatorSingle |
| Modifier and Type | Method and Description |
|---|---|
static LByteBinaryOperator |
LByteBinaryOperator.apply1stAsByte(LByteUnaryOperator func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static LByteBinaryOperator |
LByteBinaryOperator.apply2ndAsByte(LByteUnaryOperator func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
static LByteBinaryOperator |
LByteBinaryOperator.byteBinaryOp(LByteBinaryOperator lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static LByteBinaryOperator |
LByteBinaryOperator.byteBinaryOpThrowing(ExF<Throwable> exF) |
static LByteBinaryOperator |
LByteBinaryOperator.byteBinaryOpThrowing(String message,
ExMF<Throwable> exF) |
default LByteBinaryOperator |
LByteBinaryOperator.compose(LByteUnaryOperator before1,
LByteUnaryOperator before2)
Allows to manipulate the domain of the function.
|
static LByteBinaryOperator |
LByteBinaryOperator.composed(LByteUnaryOperator before1,
LByteUnaryOperator before2,
LByteBinaryOperator after) |
static LByteBinaryOperator |
LByteBinaryOperator.constant(byte r)
Creates function that always returns the same value.
|
static LByteBinaryOperator |
LByteBinaryOperator.failSafe(LByteBinaryOperator func,
LByteBinaryOperator failSafe) |
default LByteBinaryOperator |
LByteBinaryOperator.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
static LByteBinaryOperator |
LByteBinaryOperator.max()
Returns function that returns the higher value.
|
static LByteBinaryOperator |
LByteBinaryOperator.maxBy(Comparator<Byte> comparator)
Creates function that returns the lesser value according to the comparator.
|
static LByteBinaryOperator |
LByteBinaryOperator.min()
Returns function that returns the lower value.
|
static LByteBinaryOperator |
LByteBinaryOperator.minBy(Comparator<Byte> comparator)
Creates function that returns the lesser value according to the comparator.
|
static LByteBinaryOperator |
LByteBinaryOperator.recursive(LFunction<LByteBinaryOperator,LByteBinaryOperator> selfLambda) |
static LByteBinaryOperator |
LByteBinaryOperator.safe()
Safe instance.
|
static LByteBinaryOperator |
LByteBinaryOperator.safe(LByteBinaryOperator other)
Safe wrapping.
|
default LByteBinaryOperator |
LByteBinaryOperator.thenToByte(LByteUnaryOperator after)
Combines two functions together in a order.
|
default LByteBinaryOperator |
LByteBinaryOperator.trying(ExWF<RuntimeException> exF) |
default LByteBinaryOperator |
LByteBinaryOperator.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LByteBinaryOperator |
LByteBinaryOperator.tryingThen(LToByteFunction<Throwable> handler) |
static LByteBinaryOperator |
LByteBinaryOperator.uncurry(LByteFunction<LByteUnaryOperator> func) |
LByteBinaryOperator |
LByteBinaryOperator.LByteBinaryOperatorSingle.value() |
| Modifier and Type | Method and Description |
|---|---|
static LSupplier<LByteBinaryOperator> |
LByteBinaryOperator.safeSupplier()
Safe instance supplier.
|
static LSupplier<LByteBinaryOperator> |
LByteBinaryOperator.safeSupplier(LSupplier<LByteBinaryOperator> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
static LByteBinaryOperator |
LByteBinaryOperator.byteBinaryOp(LByteBinaryOperator lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static byte |
LByteBinaryOperator.call(byte a1,
byte a2,
LByteBinaryOperator lambda) |
static LByteBinaryOperator |
LByteBinaryOperator.composed(LByteUnaryOperator before1,
LByteUnaryOperator before2,
LByteBinaryOperator after) |
static <V1,V2> LToByteBiFunction<V1,V2> |
LByteBinaryOperator.composed(LToByteFunction<? super V1> before1,
LToByteFunction<? super V2> before2,
LByteBinaryOperator after) |
static LByteBinaryOperator |
LByteBinaryOperator.failSafe(LByteBinaryOperator func,
LByteBinaryOperator failSafe) |
default byte |
LByteBinaryOperator.failSafeApplyAsByte(byte a1,
byte a2,
LByteBinaryOperator failSafe) |
static byte |
LByteBinaryOperator.failSafeApplyAsByte(byte a1,
byte a2,
LByteBinaryOperator func,
LByteBinaryOperator failSafe) |
static void |
LByteBinaryOperator.fromTill(int min_i,
int max_i,
byte a1,
byte a2,
LByteBinaryOperator func)
From-To.
|
static void |
LByteBinaryOperator.fromTo(int min_i,
int max_i,
byte a1,
byte a2,
LByteBinaryOperator func)
From-To.
|
static byte |
LByteBinaryOperator.handlingApplyAsByte(byte a1,
byte a2,
LByteBinaryOperator func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static LByteUnaryOperator |
LByteBinaryOperator.lShrinked(LByteUnaryOperator left,
LByteBinaryOperator func) |
static LByteUnaryOperator |
LByteBinaryOperator.lShrinkedc(byte a1,
LByteBinaryOperator func) |
static LByteUnaryOperator |
LByteBinaryOperator.rShrinked(LByteUnaryOperator right,
LByteBinaryOperator func) |
static LByteUnaryOperator |
LByteBinaryOperator.rShrinkedc(byte a2,
LByteBinaryOperator func) |
static LByteBinaryOperator |
LByteBinaryOperator.safe(LByteBinaryOperator other)
Safe wrapping.
|
static void |
LByteBinaryOperator.times(int max_i,
byte a1,
byte a2,
LByteBinaryOperator func)
From-To.
|
static byte |
LByteBinaryOperator.tryApplyAsByte(byte a1,
byte a2,
LByteBinaryOperator func) |
static byte |
LByteBinaryOperator.tryApplyAsByte(byte a1,
byte a2,
LByteBinaryOperator func,
ExWF<RuntimeException> exF) |
static byte |
LByteBinaryOperator.tryApplyAsByte(byte a1,
byte a2,
LByteBinaryOperator func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static byte |
LByteBinaryOperator.tryApplyAsByteThen(byte a1,
byte a2,
LByteBinaryOperator func,
LToByteFunction<Throwable> handler) |
| Modifier and Type | Method and Description |
|---|---|
static LByteBinaryOperator |
LByteBinaryOperator.recursive(LFunction<LByteBinaryOperator,LByteBinaryOperator> selfLambda) |
static LByteBinaryOperator |
LByteBinaryOperator.recursive(LFunction<LByteBinaryOperator,LByteBinaryOperator> selfLambda) |
static LSupplier<LByteBinaryOperator> |
LByteBinaryOperator.safeSupplier(LSupplier<LByteBinaryOperator> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default LByteBinaryOperator |
LBiBytePredicate.boolToByteBinaryOp(LBoolToByteFunction after)
Combines two functions together in a order.
|
Copyright © 2019. All rights reserved.