@FunctionalInterface public interface LTieConsumer<T1,T2> extends MetaConsumer, MetaInterface.NonThrowing, TieConsumer<T1,aType.a<T2>>, Codomain<aType.aVoid>, Domain3<aType.a<T1>,aType.aInt,aType.a<T2>>
Non-throwing functional interface (lambda) LTieConsumer for Java 8.
Type: consumer
Domain (lvl: 3): T1 a1,int a2,T2 a3
Co-domain: none
Special case of consumer that corresponds to expressions like (list, index, element) -> List::set or (list, index, element) -> Array::set
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LTieConsumer.LInt1BiObj2Cons<T1,T2>
Permutation of LTieConsumer for method references.
|
static interface |
LTieConsumer.LInt1Obj2Obj0Cons<T2,T1>
Permutation of LTieConsumer for method references.
|
static interface |
LTieConsumer.LObj0Obj2Int1Cons<T1,T2>
Permutation of LTieConsumer for method references.
|
static interface |
LTieConsumer.LObj2Int1Obj0Cons<T2,T1>
Permutation of LTieConsumer for method references.
|
static interface |
LTieConsumer.LObj2Obj0Int1Cons<T2,T1>
Permutation of LTieConsumer for method references.
|
static class |
LTieConsumer.LTieConsumerSingle<T1,T2> |
MetaInterface.NonThrowing, MetaInterface.Throwing<X>| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIPTION |
| Modifier and Type | Method and Description |
|---|---|
default void |
accept(T1 a1,
int a2,
T2 a3) |
default void |
accept(T1 a1,
int a2,
T2 a3,
ExWF<RuntimeException> exF) |
default void |
accept(T1 a1,
int a2,
T2 a3,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T1,T2> LTieConsumer<T1,T2> |
accept1st(LConsumer<T1> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <T1,T2> LTieConsumer<T1,T2> |
accept2nd(LIntConsumer func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
static <T1,T2> LTieConsumer<T1,T2> |
accept3rd(LConsumer<T2> func)
Captures single parameter function into this interface where only 3rd parameter will be used.
|
default void |
acceptThen(T1 a1,
int a2,
T2 a3,
LConsumer<Throwable> handler) |
void |
acceptX(T1 a1,
int a2,
T2 a3)
Implement this, but call accept(T1 a1,int a2,T2 a3)
|
default LTieConsumer<T1,T2> |
andThen(LTieConsumer<? super T1,? super T2> after)
Combines two LTieConsumer<T1,T2> together in a order.
|
static <T1,T2> void |
call(T1 a1,
int a2,
T2 a3,
LTieConsumer<T1,T2> lambda) |
default LAction |
capture(T1 a1,
int a2,
T2 a3)
Captures arguments but delays the evaluation.
|
default <V2,V3> LTieConsumer<V2,V3> |
cast()
Cast that replace generics.
|
static <V2,V3,T1,T2> |
cast(LTieConsumer<T1,T2> function)
Cast that replace generics.
|
default <V1,V3> LTieConsumer<V1,V3> |
compose(LFunction<? super V1,? extends T1> before1,
LIntUnaryOperator before2,
LFunction<? super V3,? extends T2> before3)
Allows to manipulate the domain of the function.
|
static <V1,V3,T1,T2> |
composed(LFunction<? super V1,? extends T1> before1,
LIntUnaryOperator before2,
LFunction<? super V3,? extends T2> before3,
LTieConsumer<T1,T2> after) |
static <V1,V2,V3,T1,T2> |
composed(LFunction<? super V1,? extends T1> before1,
LToIntFunction<? super V2> before2,
LFunction<? super V3,? extends T2> before3,
LTieConsumer<T1,T2> after) |
static <T1,T2> void |
doNothing(int a2,
T1 a1,
T2 a3)
Does nothing (LTieConsumer.LInt1BiObj2Cons)
|
static <T1,T2> void |
doNothing(T1 a1,
int a2,
T2 a3)
Does nothing (LTieConsumer)
|
static <T1,T2> void |
doNothing(T1 a1,
T2 a3,
int a2)
Does nothing (LTieConsumer.LObj0Obj2Int1Cons)
|
static <T1,T2> LTieConsumer<T1,T2> |
failSafe(LTieConsumer<T1,T2> func,
LTieConsumer<T1,T2> failSafe) |
default void |
failSafeAccept(T1 a1,
int a2,
T2 a3,
LTieConsumer<T1,T2> failSafe) |
static <T1,T2> void |
failSafeAccept(T1 a1,
int a2,
T2 a3,
LTieConsumer<T1,T2> func,
LTieConsumer<T1,T2> failSafe) |
static <C1,C2,C3,T1,T2> |
forEach(IndexedRead<C1,aType.a<T1>> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.a<T2>> ia3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T1,T2> void |
fromTill(int min_a2,
int max_a2,
T1 a1,
T2 a3,
LTieConsumer<T1,T2> func)
From-To.
|
static <T1,T2> void |
fromTo(int min_a2,
int max_a2,
T1 a1,
T2 a3,
LTieConsumer<T1,T2> func)
From-To.
|
default String |
functionalInterfaceDescription()
Returns description of the functional interface.
|
default <SRC> int |
genericTieForEach(int sStart,
int sEnd,
int tStart,
T1 trg1,
SRC src3,
OiFunction<SRC,aType.a<T2>> srcAcc3)
ITERATION: TIE_CONSUMER_GEN: FOR, [SourcePurpose{arg=int sStart, type=CONST}, SourcePurpose{arg=int sEnd, type=CONST}, SourcePurpose{arg=int tStart, type=CONST}, SourcePurpose{arg=T1 trg1, type=CONST}, SourcePurpose{arg=T2 a3, type=TIE_SOURCE}, SourcePurpose{arg=T2 a3, type=TIE_GEN_SUPPLIER}]
|
default LTieConsumer<T1,T2> |
handling(HandlingInstructions<Throwable,RuntimeException> handling) |
default void |
handlingAccept(T1 a1,
int a2,
T2 a3,
HandlingInstructions<Throwable,RuntimeException> handling)
Function call that handles exceptions according to the instructions.
|
static <T1,T2> void |
handlingAccept(T1 a1,
int a2,
T2 a3,
LTieConsumer<T1,T2> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <C1,C3,T1,T2> |
indexedForEach(IndexedRead<C1,aType.a<T1>> ia1,
C1 source1,
IndexedRead<C3,aType.a<T2>> ia3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,C3,I3,T1,T2> |
indexedIterate(IndexedRead<C1,aType.a<T1>> ia1,
C1 source1,
SequentialRead<C3,I3,aType.a<T2>> sa3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,I1,C3,T1,T2> |
indexedIterate(SequentialRead<C1,I1,aType.a<T1>> sa1,
C1 source1,
IndexedRead<C3,aType.a<T2>> ia3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,I1,C3,I3,T1,T2> |
indexedIterate(SequentialRead<C1,I1,aType.a<T1>> sa1,
C1 source1,
SequentialRead<C3,I3,aType.a<T2>> sa3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <T1,T2> LTieConsumer.LInt1BiObj2Cons<T1,T2> |
int1BiObj2Cons(LTieConsumer.LInt1BiObj2Cons<T1,T2> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T2,T1> LTieConsumer.LInt1Obj2Obj0Cons<T2,T1> |
int1Obj2Obj0Cons(LTieConsumer.LInt1Obj2Obj0Cons<T2,T1> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <C1,C2,C3,I3,T1,T2> |
iterate(IndexedRead<C1,aType.a<T1>> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.a<T2>> sa3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,C2,I2,C3,T1,T2> |
iterate(IndexedRead<C1,aType.a<T1>> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.a<T2>> ia3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,C2,I2,C3,I3,T1,T2> |
iterate(IndexedRead<C1,aType.a<T1>> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.a<T2>> sa3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,C3,T1,T2> |
iterate(SequentialRead<C1,I1,aType.a<T1>> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.a<T2>> ia3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,C3,I3,T1,T2> |
iterate(SequentialRead<C1,I1,aType.a<T1>> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.a<T2>> sa3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,I2,C3,T1,T2> |
iterate(SequentialRead<C1,I1,aType.a<T1>> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.a<T2>> ia3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,I2,C3,I3,T1,T2> |
iterate(SequentialRead<C1,I1,aType.a<T1>> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.a<T2>> sa3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
default void |
nestingAccept(T1 a1,
int a2,
T2 a3)
Function call that handles exceptions by always nesting checked exceptions and propagating the others as is.
|
static <T1,C3,T2> T1 |
ntiForEach(LIntFunction<T1> trgFactory1,
IndexedRead<C3,aType.a<T2>> ia3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH_NEW: FOR, [SourcePurpose{arg=T1 trg1, type=SIZE_FACTORY}, SourcePurpose{arg=T2 a3, type=IA}, SourcePurpose{arg=LTieConsumer<? super T1,? super T2> consumer, type=CONST}]
|
static <T1,C3,I3,T2> |
ntiIterate(LSupplier<T1> source1,
SequentialRead<C3,I3,aType.a<T2>> sa3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
ITERATION: TARGETED_INDEXED_ITERATE_NEW: WHILE, [SourcePurpose{arg=T1 trg1, type=SUPPLIER}, SourcePurpose{arg=T2 a3, type=SA}, SourcePurpose{arg=LTieConsumer<? super T1,? super T2> consumer, type=CONST}]
|
static <T1,T2> LTieConsumer.LObj0Obj2Int1Cons<T1,T2> |
obj0Obj2Int1Cons(LTieConsumer.LObj0Obj2Int1Cons<T1,T2> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T2,T1> LTieConsumer.LObj2Int1Obj0Cons<T2,T1> |
obj2Int1Obj0Cons(LTieConsumer.LObj2Int1Obj0Cons<T2,T1> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T2,T1> LTieConsumer.LObj2Obj0Int1Cons<T2,T1> |
obj2Obj0Int1Cons(LTieConsumer.LObj2Obj0Int1Cons<T2,T1> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T1,T2> LTieConsumer<T1,T2> |
recursive(LFunction<LTieConsumer<T1,T2>,LTieConsumer<T1,T2>> selfLambda) |
static <T1,T2> LTieConsumer<T1,T2> |
safe()
Safe instance.
|
static <T1,T2> LTieConsumer<T1,T2> |
safe(LTieConsumer<T1,T2> other)
Safe wrapping.
|
static <T1,T2> LSupplier<LTieConsumer<T1,T2>> |
safeSupplier()
Safe instance supplier.
|
static <T1,T2> LSupplier<LTieConsumer<T1,T2>> |
safeSupplier(LSupplier<LTieConsumer<T1,T2>> supplier)
Safe supplier.
|
default void |
shovingAccept(T1 a1,
int a2,
T2 a3)
Function call that handles exceptions by always propagating them as is, even when they are undeclared checked ones.
|
static <T1,C2,C3,T2> |
targetedForEach(T1 a1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.a<T2>> ia3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T1,C2,C3,I3,T2> |
targetedIterate(T1 a1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.a<T2>> sa3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T1,C2,I2,C3,T2> |
targetedIterate(T1 a1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.a<T2>> ia3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T1,C2,I2,C3,I3,T2> |
targetedIterate(T1 a1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.a<T2>> sa3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T1,T2> LTieConsumer<T1,T2> |
tieCons(LTieConsumer<T1,T2> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
default <V1,V2,V3> LTriConsumer<V1,V2,V3> |
tieConsCompose(LFunction<? super V1,? extends T1> before1,
LToIntFunction<? super V2> before2,
LFunction<? super V3,? extends T2> before3)
Allows to manipulate the domain of the function.
|
static <T1,T2> LTieConsumer<T1,T2> |
tieConsThrowing(ExF<Throwable> exF) |
static <T1,T2> LTieConsumer<T1,T2> |
tieConsThrowing(String message,
ExMF<Throwable> exF) |
static <T1,SRC,T2> |
tieForEach(int sStart,
int sEnd,
int tStart,
T1 trg1,
SRC src3,
LOiFunction<SRC,T2> srcAcc3,
LTieConsumer<? super T1,? super T2> 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=T1 trg1, type=CONST}, SourcePurpose{arg=T2 a3, type=TIE_SOURCE}, SourcePurpose{arg=T2 a3, type=TIE_SUPPLIER}, SourcePurpose{arg=LTieConsumer<? super T1,? super T2> consumer, type=CONST}]
|
static <T1,SRC,T2> |
tieForEach(int sStart,
int tStart,
T1 trg1,
SRC src3,
LPredicate<SRC> srcTest3,
LFunction<SRC,T2> srcAcc3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element).
|
static <T1,C3,T2> int |
tieForEach(T1 trg1,
IndexedRead<C3,aType.a<T2>> ia3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
ITERATION: TIE_CONSUMER_SHORT: FOR, [SourcePurpose{arg=T1 trg1, type=CONST}, SourcePurpose{arg=T2 a3, type=IA}, SourcePurpose{arg=LTieConsumer<? super T1,? super T2> consumer, type=CONST}]
|
static <T1,C3,I3,T2> |
tieIterate(T1 trg1,
SequentialRead<C3,I3,aType.a<T2>> sa3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element).
|
static <T1,C3,T2> T1 |
tiForEach(T1 trg1,
IndexedRead<C3,aType.a<T2>> ia3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH: FOR, [SourcePurpose{arg=T1 trg1, type=CONST}, SourcePurpose{arg=T2 a3, type=IA}, SourcePurpose{arg=LTieConsumer<? super T1,? super T2> consumer, type=CONST}]
|
static <T1,C3,I3,T2> |
tiIterate(T1 trg1,
SequentialRead<C3,I3,aType.a<T2>> sa3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element).
|
static <T1,T2> void |
times(int max_a2,
T1 a1,
T2 a3,
LTieConsumer<T1,T2> func)
From-To.
|
default LTieFunction<T1,T2> |
toTieFunction() |
static <T1,T2> void |
tryAccept(T1 a1,
int a2,
T2 a3,
LTieConsumer<T1,T2> func) |
static <T1,T2> void |
tryAccept(T1 a1,
int a2,
T2 a3,
LTieConsumer<T1,T2> func,
ExWF<RuntimeException> exF) |
static <T1,T2> void |
tryAccept(T1 a1,
int a2,
T2 a3,
LTieConsumer<T1,T2> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T1,T2> void |
tryAcceptThen(T1 a1,
int a2,
T2 a3,
LTieConsumer<T1,T2> func,
LConsumer<Throwable> handler) |
default LTieConsumer<T1,T2> |
trying(ExWF<RuntimeException> exF) |
default LTieConsumer<T1,T2> |
trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LTieConsumer<T1,T2> |
tryingThen(LConsumer<Throwable> handler) |
default LTuple.Void |
tupleAccept(LObjIntObjTriple<T1,T2> args) |
static <T1,T2> LTieConsumer<T1,T2> |
uncurry(LFunction<T1,LIntFunction<LConsumer<T2>>> func) |
default LTieConsumer |
untyped()
Cast that removes generics.
|
isThrowingisConsumerformatTo, isAction, isFunction, isOperator, isPredicate, isSupplierstatic final String DESCRIPTION
void acceptX(T1 a1, int a2, T2 a3) throws Throwable
Implement this, but call accept(T1 a1,int a2,T2 a3)
Throwabledefault LTuple.Void tupleAccept(LObjIntObjTriple<T1,T2> args)
default void handlingAccept(T1 a1, int a2, T2 a3, HandlingInstructions<Throwable,RuntimeException> handling)
Function call that handles exceptions according to the instructions.
default LTieConsumer<T1,T2> handling(HandlingInstructions<Throwable,RuntimeException> handling)
default void accept(T1 a1, int a2, T2 a3, @Nonnull ExWMF<RuntimeException> exF, @Nonnull String newMessage, @Nullable Object... messageParams)
default LTieConsumer<T1,T2> trying(@Nonnull ExWMF<RuntimeException> exF, @Nonnull String newMessage, @Nullable Object... messageParams)
default void accept(T1 a1, int a2, T2 a3, @Nonnull ExWF<RuntimeException> exF)
default LTieConsumer<T1,T2> trying(@Nonnull ExWF<RuntimeException> exF)
default void nestingAccept(T1 a1, int a2, T2 a3)
Function call that handles exceptions by always nesting checked exceptions and propagating the others as is.
default void shovingAccept(T1 a1, int a2, T2 a3)
Function call that handles exceptions by always propagating them as is, even when they are undeclared checked ones.
static <T1,T2> void handlingAccept(T1 a1,
int a2,
T2 a3,
LTieConsumer<T1,T2> func,
HandlingInstructions<Throwable,RuntimeException> handling)
static <T1,T2> void tryAccept(T1 a1,
int a2,
T2 a3,
LTieConsumer<T1,T2> func)
static <T1,T2> void tryAccept(T1 a1,
int a2,
T2 a3,
LTieConsumer<T1,T2> func,
@Nonnull
ExWMF<RuntimeException> exF,
@Nonnull
String newMessage,
@Nullable
Object... messageParams)
static <T1,T2> void tryAccept(T1 a1,
int a2,
T2 a3,
LTieConsumer<T1,T2> func,
@Nonnull
ExWF<RuntimeException> exF)
static <T1,T2> void tryAcceptThen(T1 a1,
int a2,
T2 a3,
LTieConsumer<T1,T2> func,
@Nonnull
LConsumer<Throwable> handler)
default void failSafeAccept(T1 a1, int a2, T2 a3, @Nonnull LTieConsumer<T1,T2> failSafe)
static <T1,T2> void failSafeAccept(T1 a1,
int a2,
T2 a3,
LTieConsumer<T1,T2> func,
@Nonnull
LTieConsumer<T1,T2> failSafe)
static <T1,T2> LTieConsumer<T1,T2> failSafe(LTieConsumer<T1,T2> func, @Nonnull LTieConsumer<T1,T2> failSafe)
@Nonnull default String functionalInterfaceDescription()
Returns description of the functional interface.
functionalInterfaceDescription in interface MetaFunctionalInterfacedefault LTieFunction<T1,T2> toTieFunction()
toTieFunction in interface TieConsumer<T1,aType.a<T2>>static <T1,T2> void fromTo(int min_a2,
int max_a2,
T1 a1,
T2 a3,
LTieConsumer<T1,T2> func)
From-To. Intended to be used with non-capturing lambda.
static <T1,T2> void fromTill(int min_a2,
int max_a2,
T1 a1,
T2 a3,
LTieConsumer<T1,T2> func)
From-To. Intended to be used with non-capturing lambda.
static <T1,T2> void times(int max_a2,
T1 a1,
T2 a3,
LTieConsumer<T1,T2> func)
From-To. Intended to be used with non-capturing lambda.
static <T1,T2> LTieConsumer<T1,T2> uncurry(LFunction<T1,LIntFunction<LConsumer<T2>>> func)
default LTieConsumer untyped()
Cast that removes generics.
default <V2,V3> LTieConsumer<V2,V3> cast()
Cast that replace generics.
static <V2,V3,T1,T2> LTieConsumer<V2,V3> cast(LTieConsumer<T1,T2> function)
Cast that replace generics.
@Nonnull static <T1,T2> LTieConsumer<T1,T2> accept1st(@Nonnull LConsumer<T1> func)
Captures single parameter function into this interface where only 1st parameter will be used.
@Nonnull static <T1,T2> LTieConsumer<T1,T2> accept2nd(@Nonnull LIntConsumer func)
Captures single parameter function into this interface where only 2nd parameter will be used.
@Nonnull static <T1,T2> LTieConsumer<T1,T2> accept3rd(@Nonnull LConsumer<T2> func)
Captures single parameter function into this interface where only 3rd parameter will be used.
@Nonnull static <T1,T2> LTieConsumer<T1,T2> tieCons(@Nonnull LTieConsumer<T1,T2> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T1,T2> LTieConsumer<T1,T2> recursive(@Nonnull LFunction<LTieConsumer<T1,T2>,LTieConsumer<T1,T2>> selfLambda)
@Nonnull static <T1,T2> LTieConsumer<T1,T2> tieConsThrowing(@Nonnull ExF<Throwable> exF)
@Nonnull static <T1,T2> LTieConsumer<T1,T2> tieConsThrowing(String message, @Nonnull ExMF<Throwable> exF)
@Nonnull static <T1,T2> LTieConsumer.LObj0Obj2Int1Cons<T1,T2> obj0Obj2Int1Cons(@Nonnull LTieConsumer.LObj0Obj2Int1Cons<T1,T2> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T1,T2> LTieConsumer.LInt1BiObj2Cons<T1,T2> int1BiObj2Cons(@Nonnull LTieConsumer.LInt1BiObj2Cons<T1,T2> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T2,T1> LTieConsumer.LInt1Obj2Obj0Cons<T2,T1> int1Obj2Obj0Cons(@Nonnull LTieConsumer.LInt1Obj2Obj0Cons<T2,T1> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T2,T1> LTieConsumer.LObj2Obj0Int1Cons<T2,T1> obj2Obj0Int1Cons(@Nonnull LTieConsumer.LObj2Obj0Int1Cons<T2,T1> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T2,T1> LTieConsumer.LObj2Int1Obj0Cons<T2,T1> obj2Int1Obj0Cons(@Nonnull LTieConsumer.LObj2Int1Obj0Cons<T2,T1> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
static <T1,T2> void call(T1 a1,
int a2,
T2 a3,
@Nonnull
LTieConsumer<T1,T2> lambda)
@Nonnull static <T1,T2> LTieConsumer<T1,T2> safe()
Safe instance.
@Nonnull static <T1,T2> LSupplier<LTieConsumer<T1,T2>> safeSupplier()
Safe instance supplier. Returns supplier of safe() instance.
@Nonnull static <T1,T2> LTieConsumer<T1,T2> safe(@Nullable LTieConsumer<T1,T2> other)
Safe wrapping. Either argument function is returned (if it is not null) or safe() instance.
@Nonnull static <T1,T2> LSupplier<LTieConsumer<T1,T2>> safeSupplier(@Nullable LSupplier<LTieConsumer<T1,T2>> supplier)
Safe supplier. Either argument supplier is returned (if it is not null) or supplier of safe() instance.
@Nonnull default <V1,V3> LTieConsumer<V1,V3> compose(@Nonnull LFunction<? super V1,? extends T1> before1, @Nonnull LIntUnaryOperator before2, @Nonnull LFunction<? super V3,? extends T2> before3)
Allows to manipulate the domain of the function.
static <V1,V3,T1,T2> LTieConsumer<V1,V3> composed(@Nonnull LFunction<? super V1,? extends T1> before1, @Nonnull LIntUnaryOperator before2, @Nonnull LFunction<? super V3,? extends T2> before3, LTieConsumer<T1,T2> after)
@Nonnull default <V1,V2,V3> LTriConsumer<V1,V2,V3> tieConsCompose(@Nonnull LFunction<? super V1,? extends T1> before1, @Nonnull LToIntFunction<? super V2> before2, @Nonnull LFunction<? super V3,? extends T2> before3)
Allows to manipulate the domain of the function.
static <V1,V2,V3,T1,T2> LTriConsumer<V1,V2,V3> composed(@Nonnull LFunction<? super V1,? extends T1> before1, @Nonnull LToIntFunction<? super V2> before2, @Nonnull LFunction<? super V3,? extends T2> before3, LTieConsumer<T1,T2> after)
@Nonnull default LTieConsumer<T1,T2> andThen(@Nonnull LTieConsumer<? super T1,? super T2> after)
Combines two LTieConsumer<T1,T2> together in a order.
static <T1,T2> void doNothing(T1 a1,
int a2,
T2 a3)
Does nothing (LTieConsumer)
static <T1,T2> void doNothing(T1 a1,
T2 a3,
int a2)
Does nothing (LTieConsumer.LObj0Obj2Int1Cons)
static <T1,T2> void doNothing(int a2,
T1 a1,
T2 a3)
Does nothing (LTieConsumer.LInt1BiObj2Cons)
static <C1,C2,C3,T1,T2> int forEach(IndexedRead<C1,aType.a<T1>> ia1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, IndexedRead<C3,aType.a<T2>> ia3, C3 source3, LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer. Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,I1,C2,C3,T1,T2> int iterate(SequentialRead<C1,I1,aType.a<T1>> sa1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, IndexedRead<C3,aType.a<T2>> ia3, C3 source3, LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer. Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,C2,I2,C3,T1,T2> int iterate(IndexedRead<C1,aType.a<T1>> ia1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, IndexedRead<C3,aType.a<T2>> ia3, C3 source3, LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer. Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,I1,C2,I2,C3,T1,T2> int iterate(SequentialRead<C1,I1,aType.a<T1>> sa1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, IndexedRead<C3,aType.a<T2>> ia3, C3 source3, LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer. Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,C2,C3,I3,T1,T2> int iterate(IndexedRead<C1,aType.a<T1>> ia1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, SequentialRead<C3,I3,aType.a<T2>> sa3, C3 source3, LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer. Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,I1,C2,C3,I3,T1,T2> int iterate(SequentialRead<C1,I1,aType.a<T1>> sa1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, SequentialRead<C3,I3,aType.a<T2>> sa3, C3 source3, LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer. Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,C2,I2,C3,I3,T1,T2> int iterate(IndexedRead<C1,aType.a<T1>> ia1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, SequentialRead<C3,I3,aType.a<T2>> sa3, C3 source3, LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer. Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,I1,C2,I2,C3,I3,T1,T2> int iterate(SequentialRead<C1,I1,aType.a<T1>> sa1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, SequentialRead<C3,I3,aType.a<T2>> sa3, C3 source3, LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer. Thread safety, fail-fast, fail-safety of this method depends highly on the arguments.
static <C1,C3,T1,T2> int indexedForEach(IndexedRead<C1,aType.a<T1>> ia1, C1 source1, IndexedRead<C3,aType.a<T2>> ia3, C3 source3, LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer (with index). Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,I1,C3,T1,T2> int indexedIterate(SequentialRead<C1,I1,aType.a<T1>> sa1, C1 source1, IndexedRead<C3,aType.a<T2>> ia3, C3 source3, LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer (with index). Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,C3,I3,T1,T2> int indexedIterate(IndexedRead<C1,aType.a<T1>> ia1, C1 source1, SequentialRead<C3,I3,aType.a<T2>> sa3, C3 source3, LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer (with index). Thread safety, fail-fast, fail-safety of this method is not expected.
static <C1,I1,C3,I3,T1,T2> int indexedIterate(SequentialRead<C1,I1,aType.a<T1>> sa1, C1 source1, SequentialRead<C3,I3,aType.a<T2>> sa3, C3 source3, LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer (with index). Thread safety, fail-fast, fail-safety of this method depends highly on the arguments.
static <T1,C2,C3,T2> T1 targetedForEach(T1 a1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.a<T2>> ia3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer. First argument is designated as ‘target’ object. Thread safety, fail-fast, fail-safety of this method is not expected.
static <T1,C2,I2,C3,T2> T1 targetedIterate(T1 a1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.a<T2>> ia3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer. First argument is designated as ‘target’ object. Thread safety, fail-fast, fail-safety of this method is not expected.
static <T1,C2,C3,I3,T2> T1 targetedIterate(T1 a1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.a<T2>> sa3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer. First argument is designated as ‘target’ object. Thread safety, fail-fast, fail-safety of this method is not expected.
static <T1,C2,I2,C3,I3,T2> T1 targetedIterate(T1 a1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.a<T2>> sa3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer. First argument is designated as ‘target’ object. Thread safety, fail-fast, fail-safety of this method depends highly on the arguments.
default <SRC> int genericTieForEach(int sStart,
int sEnd,
int tStart,
T1 trg1,
SRC src3,
OiFunction<SRC,aType.a<T2>> srcAcc3)
ITERATION: TIE_CONSUMER_GEN: FOR, [SourcePurpose{arg=int sStart, type=CONST}, SourcePurpose{arg=int sEnd, type=CONST}, SourcePurpose{arg=int tStart, type=CONST}, SourcePurpose{arg=T1 trg1, type=CONST}, SourcePurpose{arg=T2 a3, type=TIE_SOURCE}, SourcePurpose{arg=T2 a3, type=TIE_GEN_SUPPLIER}]
genericTieForEach in interface TieConsumer<T1,aType.a<T2>>static <T1,C3,T2> T1 tiForEach(T1 trg1,
IndexedRead<C3,aType.a<T2>> ia3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH: FOR, [SourcePurpose{arg=T1 trg1, type=CONST}, SourcePurpose{arg=T2 a3, type=IA}, SourcePurpose{arg=LTieConsumer<? super T1,? super T2> consumer, type=CONST}]
static <T1,C3,T2> T1 ntiForEach(LIntFunction<T1> trgFactory1, IndexedRead<C3,aType.a<T2>> ia3, C3 source3, LTieConsumer<? super T1,? super T2> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH_NEW: FOR, [SourcePurpose{arg=T1 trg1, type=SIZE_FACTORY}, SourcePurpose{arg=T2 a3, type=IA}, SourcePurpose{arg=LTieConsumer<? super T1,? super T2> consumer, type=CONST}]
static <T1,C3,T2> int tieForEach(T1 trg1,
IndexedRead<C3,aType.a<T2>> ia3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
ITERATION: TIE_CONSUMER_SHORT: FOR, [SourcePurpose{arg=T1 trg1, type=CONST}, SourcePurpose{arg=T2 a3, type=IA}, SourcePurpose{arg=LTieConsumer<? super T1,? super T2> consumer, type=CONST}]
static <T1,SRC,T2> int tieForEach(int sStart,
int sEnd,
int tStart,
T1 trg1,
SRC src3,
LOiFunction<SRC,T2> srcAcc3,
LTieConsumer<? super T1,? super T2> 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=T1 trg1, type=CONST}, SourcePurpose{arg=T2 a3, type=TIE_SOURCE}, SourcePurpose{arg=T2 a3, type=TIE_SUPPLIER}, SourcePurpose{arg=LTieConsumer<? super T1,? super T2> consumer, type=CONST}]
static <T1,SRC,T2> int tieForEach(int sStart,
int tStart,
T1 trg1,
SRC src3,
LPredicate<SRC> srcTest3,
LFunction<SRC,T2> srcAcc3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element). First argument is designated as ‘target’ object. Thread safety, fail-fast, fail-safety of this method depends highly on the arguments.
static <T1,C3,I3,T2> int tieIterate(T1 trg1,
SequentialRead<C3,I3,aType.a<T2>> sa3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element). First argument is designated as ‘target’ object. Thread safety, fail-fast, fail-safety of this method depends highly on the arguments.
static <T1,C3,I3,T2> T1 tiIterate(T1 trg1,
SequentialRead<C3,I3,aType.a<T2>> sa3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element). First argument is designated as ‘target’ object. Thread safety, fail-fast, fail-safety of this method depends highly on the arguments.
static <T1,C3,I3,T2> T1 ntiIterate(LSupplier<T1> source1, SequentialRead<C3,I3,aType.a<T2>> sa3, C3 source3, LTieConsumer<? super T1,? super T2> consumer)
ITERATION: TARGETED_INDEXED_ITERATE_NEW: WHILE, [SourcePurpose{arg=T1 trg1, type=SUPPLIER}, SourcePurpose{arg=T2 a3, type=SA}, SourcePurpose{arg=LTieConsumer<? super T1,? super T2> consumer, type=CONST}]
Copyright © 2019. All rights reserved.