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