| Package | Description |
|---|---|
| eu.lunisolar.magma.func.consumer.primitives.obj | |
| eu.lunisolar.magma.func.function.from | |
| eu.lunisolar.magma.func.predicate |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LTieByteConsumer.LByteIntObjCons<T>
Permutation of LTieByteConsumer for method references.
|
static interface |
LTieByteConsumer.LByteObjIntCons<T>
Permutation of LTieByteConsumer for method references.
|
static interface |
LTieByteConsumer.LIntByteObjCons<T>
Permutation of LTieByteConsumer for method references.
|
static interface |
LTieByteConsumer.LIntObjByteCons<T>
Permutation of LTieByteConsumer for method references.
|
static interface |
LTieByteConsumer.LObjByteIntCons<T>
Permutation of LTieByteConsumer for method references.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
LTieByteConsumer.LTieByteConsumerSingle<T> |
| Modifier and Type | Method and Description |
|---|---|
static <T> LTieByteConsumer<T> |
LTieByteConsumer.accept1st(LConsumer<T> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <T> LTieByteConsumer<T> |
LTieByteConsumer.accept2nd(LIntConsumer func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
static <T> LTieByteConsumer<T> |
LTieByteConsumer.accept3rd(LByteConsumer func)
Captures single parameter function into this interface where only 3rd parameter will be used.
|
default LTieByteConsumer<T> |
LTieByteConsumer.andThen(LTieByteConsumer<? super T> after)
Combines two LTieByteConsumer
|
default <V2> LTieByteConsumer<V2> |
LTieByteConsumer.cast()
Cast that replace generics.
|
static <V2,T> LTieByteConsumer<V2> |
LTieByteConsumer.cast(LTieByteConsumer<T> function)
Cast that replace generics.
|
default <V1> LTieByteConsumer<V1> |
LTieByteConsumer.compose(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LByteUnaryOperator before3)
Allows to manipulate the domain of the function.
|
static <V1,T> LTieByteConsumer<V1> |
LTieByteConsumer.composed(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LByteUnaryOperator before3,
LTieByteConsumer<T> after) |
static <T> LTieByteConsumer<T> |
LTieByteConsumer.failSafe(LTieByteConsumer<T> func,
LTieByteConsumer<T> failSafe) |
default LTieByteConsumer<T> |
LTieByteConsumer.handling(HandlingInstructions<Throwable,RuntimeException> handling) |
static <T> LTieByteConsumer<T> |
LTieByteConsumer.recursive(LFunction<LTieByteConsumer<T>,LTieByteConsumer<T>> selfLambda) |
static <T> LTieByteConsumer<T> |
LTieByteConsumer.safe()
Safe instance.
|
static <T> LTieByteConsumer<T> |
LTieByteConsumer.safe(LTieByteConsumer<T> other)
Safe wrapping.
|
static <T> LTieByteConsumer<T> |
LTieByteConsumer.tieByteCons(LTieByteConsumer<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LTieByteConsumer<T> |
LTieByteConsumer.tieByteConsThrowing(ExF<Throwable> exF) |
static <T> LTieByteConsumer<T> |
LTieByteConsumer.tieByteConsThrowing(String message,
ExMF<Throwable> exF) |
default LTieByteConsumer<T> |
LTieByteConsumer.trying(ExWF<RuntimeException> exF) |
default LTieByteConsumer<T> |
LTieByteConsumer.trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LTieByteConsumer<T> |
LTieByteConsumer.tryingThen(LConsumer<Throwable> handler) |
static <T> LTieByteConsumer<T> |
LTieByteConsumer.uncurry(LFunction<T,LIntFunction<LByteConsumer>> func) |
default LTieByteConsumer |
LTieByteConsumer.untyped()
Cast that removes generics.
|
LTieByteConsumer<T> |
LTieByteConsumer.LTieByteConsumerSingle.value() |
| Modifier and Type | Method and Description |
|---|---|
static <T> LSupplier<LTieByteConsumer<T>> |
LTieByteConsumer.safeSupplier()
Safe instance supplier.
|
static <T> LSupplier<LTieByteConsumer<T>> |
LTieByteConsumer.safeSupplier(LSupplier<LTieByteConsumer<T>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default LTieByteConsumer<T> |
LTieByteConsumer.andThen(LTieByteConsumer<? super T> after)
Combines two LTieByteConsumer
|
static <T> void |
LTieByteConsumer.call(T a1,
int a2,
byte a3,
LTieByteConsumer<T> lambda) |
static <V2,T> LTieByteConsumer<V2> |
LTieByteConsumer.cast(LTieByteConsumer<T> function)
Cast that replace generics.
|
static <V1,T> LTieByteConsumer<V1> |
LTieByteConsumer.composed(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LByteUnaryOperator before3,
LTieByteConsumer<T> after) |
static <V1,V2,V3,T> |
LTieByteConsumer.composed(LFunction<? super V1,? extends T> before1,
LToIntFunction<? super V2> before2,
LToByteFunction<? super V3> before3,
LTieByteConsumer<T> after) |
static <T> LTieByteConsumer<T> |
LTieByteConsumer.failSafe(LTieByteConsumer<T> func,
LTieByteConsumer<T> failSafe) |
static <T> LTieByteConsumer<T> |
LTieByteConsumer.failSafe(LTieByteConsumer<T> func,
LTieByteConsumer<T> failSafe) |
default void |
LTieByteConsumer.failSafeAccept(T a1,
int a2,
byte a3,
LTieByteConsumer<T> failSafe) |
static <T> void |
LTieByteConsumer.failSafeAccept(T a1,
int a2,
byte a3,
LTieByteConsumer<T> func,
LTieByteConsumer<T> failSafe) |
static <T> void |
LTieByteConsumer.failSafeAccept(T a1,
int a2,
byte a3,
LTieByteConsumer<T> func,
LTieByteConsumer<T> failSafe) |
static <C1,C2,C3,T> |
LTieByteConsumer.forEach(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.aByte> ia3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T> void |
LTieByteConsumer.fromTill(int min_a2,
int max_a2,
T a1,
byte a3,
LTieByteConsumer<T> func)
From-To.
|
static <T> void |
LTieByteConsumer.fromTo(int min_a2,
int max_a2,
T a1,
byte a3,
LTieByteConsumer<T> func)
From-To.
|
static <T> void |
LTieByteConsumer.handlingAccept(T a1,
int a2,
byte a3,
LTieByteConsumer<T> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <C1,C3,T> int |
LTieByteConsumer.indexedForEach(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C3,aType.aByte> ia3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,C3,I3,T> |
LTieByteConsumer.indexedIterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
SequentialRead<C3,I3,aType.aByte> sa3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,I1,C3,T> |
LTieByteConsumer.indexedIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
IndexedRead<C3,aType.aByte> ia3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,I1,C3,I3,T> |
LTieByteConsumer.indexedIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
SequentialRead<C3,I3,aType.aByte> sa3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,C2,C3,I3,T> |
LTieByteConsumer.iterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aByte> sa3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,C2,I2,C3,T> |
LTieByteConsumer.iterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.aByte> ia3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,C2,I2,C3,I3,T> |
LTieByteConsumer.iterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aByte> sa3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,C3,T> |
LTieByteConsumer.iterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.aByte> ia3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,C3,I3,T> |
LTieByteConsumer.iterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aByte> sa3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,I2,C3,T> |
LTieByteConsumer.iterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.aByte> ia3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,I2,C3,I3,T> |
LTieByteConsumer.iterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aByte> sa3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T,C3> T |
LTieByteConsumer.ntiForEach(LIntFunction<T> trgFactory1,
IndexedRead<C3,aType.aByte> ia3,
C3 source3,
LTieByteConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH_NEW: FOR, [SourcePurpose{arg=T trg1, type=SIZE_FACTORY}, SourcePurpose{arg=byte a3, type=IA}, SourcePurpose{arg=LTieByteConsumer<? super T> consumer, type=CONST}]
|
static <T,C3,I3> T |
LTieByteConsumer.ntiIterate(LSupplier<T> source1,
SequentialRead<C3,I3,aType.aByte> sa3,
C3 source3,
LTieByteConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_ITERATE_NEW: WHILE, [SourcePurpose{arg=T trg1, type=SUPPLIER}, SourcePurpose{arg=byte a3, type=SA}, SourcePurpose{arg=LTieByteConsumer<? super T> consumer, type=CONST}]
|
static <T> LTieByteConsumer<T> |
LTieByteConsumer.safe(LTieByteConsumer<T> other)
Safe wrapping.
|
static <T,C2,C3> T |
LTieByteConsumer.targetedForEach(T a1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.aByte> ia3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T,C2,C3,I3> |
LTieByteConsumer.targetedIterate(T a1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aByte> sa3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T,C2,I2,C3> |
LTieByteConsumer.targetedIterate(T a1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.aByte> ia3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T,C2,I2,C3,I3> |
LTieByteConsumer.targetedIterate(T a1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aByte> sa3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T> LTieByteConsumer<T> |
LTieByteConsumer.tieByteCons(LTieByteConsumer<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T,SRC> int |
LTieByteConsumer.tieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
LOiToByteFunction<SRC> srcAcc3,
LTieByteConsumer<? super T> consumer)
ITERATION: TIE_CONSUMER: FOR, [SourcePurpose{arg=int sStart, type=CONST}, SourcePurpose{arg=int sEnd, type=CONST}, SourcePurpose{arg=int tStart, type=CONST}, SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=byte a3, type=TIE_SOURCE}, SourcePurpose{arg=byte a3, type=TIE_SUPPLIER}, SourcePurpose{arg=LTieByteConsumer<? super T> consumer, type=CONST}]
|
static <T,SRC> int |
LTieByteConsumer.tieForEach(int sStart,
int tStart,
T trg1,
SRC src3,
LPredicate<SRC> srcTest3,
LToByteFunction<SRC> srcAcc3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element).
|
static <T,C3> int |
LTieByteConsumer.tieForEach(T trg1,
IndexedRead<C3,aType.aByte> ia3,
C3 source3,
LTieByteConsumer<? super T> consumer)
ITERATION: TIE_CONSUMER_SHORT: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=byte a3, type=IA}, SourcePurpose{arg=LTieByteConsumer<? super T> consumer, type=CONST}]
|
static <T,C3,I3> int |
LTieByteConsumer.tieIterate(T trg1,
SequentialRead<C3,I3,aType.aByte> sa3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element).
|
static <T,C3> T |
LTieByteConsumer.tiForEach(T trg1,
IndexedRead<C3,aType.aByte> ia3,
C3 source3,
LTieByteConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=byte a3, type=IA}, SourcePurpose{arg=LTieByteConsumer<? super T> consumer, type=CONST}]
|
static <T,C3,I3> T |
LTieByteConsumer.tiIterate(T trg1,
SequentialRead<C3,I3,aType.aByte> sa3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element).
|
static <T> void |
LTieByteConsumer.times(int max_a2,
T a1,
byte a3,
LTieByteConsumer<T> func)
From-To.
|
static <T> void |
LTieByteConsumer.tryAccept(T a1,
int a2,
byte a3,
LTieByteConsumer<T> func) |
static <T> void |
LTieByteConsumer.tryAccept(T a1,
int a2,
byte a3,
LTieByteConsumer<T> func,
ExWF<RuntimeException> exF) |
static <T> void |
LTieByteConsumer.tryAccept(T a1,
int a2,
byte a3,
LTieByteConsumer<T> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T> void |
LTieByteConsumer.tryAcceptThen(T a1,
int a2,
byte a3,
LTieByteConsumer<T> func,
LConsumer<Throwable> handler) |
| Modifier and Type | Method and Description |
|---|---|
static <T> LTieByteConsumer<T> |
LTieByteConsumer.recursive(LFunction<LTieByteConsumer<T>,LTieByteConsumer<T>> selfLambda) |
static <T> LTieByteConsumer<T> |
LTieByteConsumer.recursive(LFunction<LTieByteConsumer<T>,LTieByteConsumer<T>> selfLambda) |
static <T> LSupplier<LTieByteConsumer<T>> |
LTieByteConsumer.safeSupplier(LSupplier<LTieByteConsumer<T>> supplier)
Safe supplier.
|
| Modifier and Type | Method and Description |
|---|---|
default LTieByteConsumer<T> |
LObjIntByteFunction.thenConsume(LConsumer<? super R> after)
Combines two functions together in a order.
|
| Modifier and Type | Method and Description |
|---|---|
default LObjIntByteFunction<T,R> |
LObjIntByteFunction.before(LTieByteConsumer<? super T> before) |
| Modifier and Type | Method and Description |
|---|---|
static <T> boolean |
LObjIntBytePredicate.doIf(T a1,
int a2,
byte a3,
LObjIntBytePredicate<T> predicate,
LTieByteConsumer<? super T> consumer) |
default boolean |
LObjIntBytePredicate.doIf(T a1,
int a2,
byte a3,
LTieByteConsumer<? super T> consumer) |
default <V> boolean |
LBytePredicate.doIf(V a1,
int a2,
byte a3,
LTieByteConsumer<? super V> consumer) |
default <V> boolean |
LByteIntPredicate.doIf(V a1,
int a2,
byte a3,
LTieByteConsumer<? super V> consumer) |
default <C1,C2,C3> void |
LObjIntBytePredicate.filterForEach(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.aByte> ia3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,C2,C3,I3> |
LObjIntBytePredicate.filterIterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aByte> sa3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,C2,I2,C3> |
LObjIntBytePredicate.filterIterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.aByte> ia3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,C2,I2,C3,I3> |
LObjIntBytePredicate.filterIterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aByte> sa3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,I1,C2,C3> |
LObjIntBytePredicate.filterIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.aByte> ia3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,I1,C2,C3,I3> |
LObjIntBytePredicate.filterIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aByte> sa3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,I1,C2,I2,C3> |
LObjIntBytePredicate.filterIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.aByte> ia3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,I1,C2,I2,C3,I3> |
LObjIntBytePredicate.filterIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aByte> sa3,
C3 source3,
LTieByteConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <V,C0> int |
LBytePredicate.tieForEach(V v,
IndexedRead<C0,aType.aByte> ia,
C0 source,
LTieByteConsumer<V> consumer)
For each element (or tuple) from arguments, calls the consumer (with index) if predicate test passes.
|
default <V,C0,I0> int |
LBytePredicate.tieIterate(V v,
SequentialRead<C0,I0,aType.aByte> sa,
C0 source,
LTieByteConsumer<V> consumer)
For each element (or tuple) from arguments, calls the consumer (with index) if predicate test passes.
|
Copyright © 2019. All rights reserved.