@FunctionalInterface public interface LTieIntConsumer<T> extends MetaConsumer, MetaInterface.NonThrowing, TieConsumer<T,aType.aInt>, Codomain<aType.aVoid>, Domain3<aType.a<T>,aType.aInt,aType.aInt>
Non-throwing functional interface (lambda) LTieIntConsumer for Java 8.
Type: consumer
Domain (lvl: 3): T a1,int a2,int 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 |
LTieIntConsumer.LBiInt1Obj0Cons<T>
Permutation of LTieIntConsumer for method references.
|
static interface |
LTieIntConsumer.LInt1Int2Obj0Cons<T>
Permutation of LTieIntConsumer for method references.
|
static interface |
LTieIntConsumer.LInt1Obj0Int2Cons<T>
Permutation of LTieIntConsumer for method references.
|
static interface |
LTieIntConsumer.LInt2Obj0Int1Cons<T>
Permutation of LTieIntConsumer for method references.
|
static interface |
LTieIntConsumer.LObj0Int2Int1Cons<T>
Permutation of LTieIntConsumer for method references.
|
static class |
LTieIntConsumer.LTieIntConsumerSingle<T> |
MetaInterface.NonThrowing, MetaInterface.Throwing<X>| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIPTION |
| Modifier and Type | Method and Description |
|---|---|
default void |
accept(T a1,
int a2,
int a3) |
default void |
accept(T a1,
int a2,
int a3,
ExWF<RuntimeException> exF) |
default void |
accept(T a1,
int a2,
int a3,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T> LTieIntConsumer<T> |
accept1st(LConsumer<T> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <T> LTieIntConsumer<T> |
accept2nd(LIntConsumer func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
static <T> LTieIntConsumer<T> |
accept3rd(LIntConsumer func)
Captures single parameter function into this interface where only 3rd parameter will be used.
|
default void |
acceptThen(T a1,
int a2,
int a3,
LConsumer<Throwable> handler) |
void |
acceptX(T a1,
int a2,
int a3)
Implement this, but call accept(T a1,int a2,int a3)
|
default LTieIntConsumer<T> |
andThen(LTieIntConsumer<? super T> after)
Combines two LTieIntConsumer
|
static <T> LTieIntConsumer.LBiInt1Obj0Cons<T> |
biInt1Obj0Cons(LTieIntConsumer.LBiInt1Obj0Cons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> void |
call(T a1,
int a2,
int a3,
LTieIntConsumer<T> lambda) |
default LAction |
capture(T a1,
int a2,
int a3)
Captures arguments but delays the evaluation.
|
default <V2> LTieIntConsumer<V2> |
cast()
Cast that replace generics.
|
static <V2,T> LTieIntConsumer<V2> |
cast(LTieIntConsumer<T> function)
Cast that replace generics.
|
default <V1> LTieIntConsumer<V1> |
compose(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LIntUnaryOperator before3)
Allows to manipulate the domain of the function.
|
static <V1,T> LTieIntConsumer<V1> |
composed(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LIntUnaryOperator before3,
LTieIntConsumer<T> after) |
static <V1,V2,V3,T> |
composed(LFunction<? super V1,? extends T> before1,
LToIntFunction<? super V2> before2,
LToIntFunction<? super V3> before3,
LTieIntConsumer<T> after) |
static <T> void |
doNothing(int a2,
int a3,
T a1)
Does nothing (LTieIntConsumer.LInt1Int2Obj0Cons)
|
static <T> void |
doNothing(int a2,
T a1,
int a3)
Does nothing (LTieIntConsumer.LInt1Obj0Int2Cons)
|
static <T> void |
doNothing(T a1,
int a2,
int a3)
Does nothing (LTieIntConsumer)
|
static <T> LTieIntConsumer<T> |
failSafe(LTieIntConsumer<T> func,
LTieIntConsumer<T> failSafe) |
default void |
failSafeAccept(T a1,
int a2,
int a3,
LTieIntConsumer<T> failSafe) |
static <T> void |
failSafeAccept(T a1,
int a2,
int a3,
LTieIntConsumer<T> func,
LTieIntConsumer<T> failSafe) |
static <C1,C2,C3,T> |
forEach(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.aInt> ia3,
C3 source3,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T> void |
fromTill(int min_i,
int max_i,
T a1,
int a2,
int a3,
LTieIntConsumer<T> func)
From-To.
|
static <T> void |
fromTo(int min_i,
int max_i,
T a1,
int a2,
int a3,
LTieIntConsumer<T> func)
From-To.
|
default String |
functionalInterfaceDescription()
Returns description of the functional interface.
|
default <SRC> int |
genericTieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
OiFunction<SRC,aType.aInt> 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=T trg1, type=CONST}, SourcePurpose{arg=int a3, type=TIE_SOURCE}, SourcePurpose{arg=int a3, type=TIE_GEN_SUPPLIER}]
|
default LTieIntConsumer<T> |
handling(HandlingInstructions<Throwable,RuntimeException> handling) |
default void |
handlingAccept(T a1,
int a2,
int a3,
HandlingInstructions<Throwable,RuntimeException> handling)
Function call that handles exceptions according to the instructions.
|
static <T> void |
handlingAccept(T a1,
int a2,
int a3,
LTieIntConsumer<T> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <C1,C3,T> int |
indexed2ndForEach(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C3,aType.aInt> ia3,
C3 source3,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,C3,I3,T> |
indexed2ndIterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
SequentialRead<C3,I3,aType.aInt> sa3,
C3 source3,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,I1,C3,T> |
indexed2ndIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
IndexedRead<C3,aType.aInt> ia3,
C3 source3,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,I1,C3,I3,T> |
indexed2ndIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
SequentialRead<C3,I3,aType.aInt> sa3,
C3 source3,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,C2,T> int |
indexed3rdForEach(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,C2,I2,T> |
indexed3rdIterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,I1,C2,T> |
indexed3rdIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,I1,C2,I2,T> |
indexed3rdIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <T> LTieIntConsumer.LInt1Int2Obj0Cons<T> |
int1Int2Obj0Cons(LTieIntConsumer.LInt1Int2Obj0Cons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LTieIntConsumer.LInt1Obj0Int2Cons<T> |
int1Obj0Int2Cons(LTieIntConsumer.LInt1Obj0Int2Cons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LTieIntConsumer.LInt2Obj0Int1Cons<T> |
int2Obj0Int1Cons(LTieIntConsumer.LInt2Obj0Int1Cons<T> 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,T> |
iterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aInt> sa3,
C3 source3,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,C2,I2,C3,T> |
iterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.aInt> ia3,
C3 source3,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,C2,I2,C3,I3,T> |
iterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aInt> sa3,
C3 source3,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,C3,T> |
iterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.aInt> ia3,
C3 source3,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,C3,I3,T> |
iterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aInt> sa3,
C3 source3,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,I2,C3,T> |
iterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.aInt> ia3,
C3 source3,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,I2,C3,I3,T> |
iterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aInt> sa3,
C3 source3,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
default LBiIntConsumer |
lShrink(LBiIntFunction<T> left) |
default LBiIntConsumer |
lShrinkc(T a1) |
static <T> LBiIntConsumer |
lShrinked(LBiIntFunction<T> left,
LTieIntConsumer<T> func) |
static <T> LBiIntConsumer |
lShrinkedc(T a1,
LTieIntConsumer<T> func) |
default void |
nestingAccept(T a1,
int a2,
int a3)
Function call that handles exceptions by always nesting checked exceptions and propagating the others as is.
|
static <T,C3> T |
ntiForEach(LIntFunction<T> trgFactory1,
IndexedRead<C3,aType.aInt> ia3,
C3 source3,
LTieIntConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH_NEW: FOR, [SourcePurpose{arg=T trg1, type=SIZE_FACTORY}, SourcePurpose{arg=int a3, type=IA}, SourcePurpose{arg=LTieIntConsumer<? super T> consumer, type=CONST}]
|
static <T,C3,I3> T |
ntiIterate(LSupplier<T> source1,
SequentialRead<C3,I3,aType.aInt> sa3,
C3 source3,
LTieIntConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_ITERATE_NEW: WHILE, [SourcePurpose{arg=T trg1, type=SUPPLIER}, SourcePurpose{arg=int a3, type=SA}, SourcePurpose{arg=LTieIntConsumer<? super T> consumer, type=CONST}]
|
static <T> LTieIntConsumer.LObj0Int2Int1Cons<T> |
obj0Int2Int1Cons(LTieIntConsumer.LObj0Int2Int1Cons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LTieIntConsumer<T> |
recursive(LFunction<LTieIntConsumer<T>,LTieIntConsumer<T>> selfLambda) |
default LObjIntConsumer<T> |
rShrink(LOiToIntFunction<T> right) |
default LObjIntConsumer<T> |
rShrinkc(int a3) |
static <T> LObjIntConsumer<T> |
rShrinked(LOiToIntFunction<T> right,
LTieIntConsumer<T> func) |
static <T> LObjIntConsumer<T> |
rShrinkedc(int a3,
LTieIntConsumer<T> func) |
static <T> LTieIntConsumer<T> |
safe()
Safe instance.
|
static <T> LTieIntConsumer<T> |
safe(LTieIntConsumer<T> other)
Safe wrapping.
|
static <T> LSupplier<LTieIntConsumer<T>> |
safeSupplier()
Safe instance supplier.
|
static <T> LSupplier<LTieIntConsumer<T>> |
safeSupplier(LSupplier<LTieIntConsumer<T>> supplier)
Safe supplier.
|
default void |
shovingAccept(T a1,
int a2,
int a3)
Function call that handles exceptions by always propagating them as is, even when they are undeclared checked ones.
|
static <T,C2,C3> T |
targetedForEach(T a1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.aInt> ia3,
C3 source3,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T,C2,C3,I3> |
targetedIterate(T a1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aInt> sa3,
C3 source3,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T,C2,I2,C3> |
targetedIterate(T a1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.aInt> ia3,
C3 source3,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T,C2,I2,C3,I3> |
targetedIterate(T a1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aInt> sa3,
C3 source3,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T,SRC> int |
tieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
LOiToIntFunction<SRC> srcAcc3,
LTieIntConsumer<? 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=int a3, type=TIE_SOURCE}, SourcePurpose{arg=int a3, type=TIE_SUPPLIER}, SourcePurpose{arg=LTieIntConsumer<? super T> consumer, type=CONST}]
|
static <T,SRC> int |
tieForEach(int sStart,
int tStart,
T trg1,
SRC src3,
LPredicate<SRC> srcTest3,
LToIntFunction<SRC> srcAcc3,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element).
|
static <T,C3> int |
tieForEach(T trg1,
IndexedRead<C3,aType.aInt> ia3,
C3 source3,
LTieIntConsumer<? super T> consumer)
ITERATION: TIE_CONSUMER_SHORT: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=int a3, type=IA}, SourcePurpose{arg=LTieIntConsumer<? super T> consumer, type=CONST}]
|
static <T> LTieIntConsumer<T> |
tieIntCons(LTieIntConsumer<T> 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> |
tieIntConsCompose(LFunction<? super V1,? extends T> before1,
LToIntFunction<? super V2> before2,
LToIntFunction<? super V3> before3)
Allows to manipulate the domain of the function.
|
static <T> LTieIntConsumer<T> |
tieIntConsThrowing(ExF<Throwable> exF) |
static <T> LTieIntConsumer<T> |
tieIntConsThrowing(String message,
ExMF<Throwable> exF) |
static <T,C3,I3> int |
tieIterate(T trg1,
SequentialRead<C3,I3,aType.aInt> sa3,
C3 source3,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element).
|
static <T,C3> T |
tiForEach(T trg1,
IndexedRead<C3,aType.aInt> ia3,
C3 source3,
LTieIntConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=int a3, type=IA}, SourcePurpose{arg=LTieIntConsumer<? super T> consumer, type=CONST}]
|
static <T,C3,I3> T |
tiIterate(T trg1,
SequentialRead<C3,I3,aType.aInt> sa3,
C3 source3,
LTieIntConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element).
|
static <T> void |
times(int max_i,
T a1,
int a2,
int a3,
LTieIntConsumer<T> func)
From-To.
|
default LTieIntFunction<T> |
toTieFunction() |
static <T> void |
tryAccept(T a1,
int a2,
int a3,
LTieIntConsumer<T> func) |
static <T> void |
tryAccept(T a1,
int a2,
int a3,
LTieIntConsumer<T> func,
ExWF<RuntimeException> exF) |
static <T> void |
tryAccept(T a1,
int a2,
int a3,
LTieIntConsumer<T> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T> void |
tryAcceptThen(T a1,
int a2,
int a3,
LTieIntConsumer<T> func,
LConsumer<Throwable> handler) |
default LTieIntConsumer<T> |
trying(ExWF<RuntimeException> exF) |
default LTieIntConsumer<T> |
trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LTieIntConsumer<T> |
tryingThen(LConsumer<Throwable> handler) |
default LTuple.Void |
tupleAccept(LObjBiIntTriple<T> args) |
static <T> LTieIntConsumer<T> |
uncurry(LFunction<T,LIntFunction<LIntConsumer>> func) |
default LTieIntConsumer |
untyped()
Cast that removes generics.
|
isThrowingisConsumerformatTo, isAction, isFunction, isOperator, isPredicate, isSupplierstatic final String DESCRIPTION
default void accept(T a1, int a2, int a3)
void acceptX(T a1, int a2, int a3) throws Throwable
Implement this, but call accept(T a1,int a2,int a3)
Throwabledefault LTuple.Void tupleAccept(LObjBiIntTriple<T> args)
default void handlingAccept(T a1, int a2, int a3, HandlingInstructions<Throwable,RuntimeException> handling)
Function call that handles exceptions according to the instructions.
default LTieIntConsumer<T> handling(HandlingInstructions<Throwable,RuntimeException> handling)
default void accept(T a1, int a2, int a3, @Nonnull ExWMF<RuntimeException> exF, @Nonnull String newMessage, @Nullable Object... messageParams)
default LTieIntConsumer<T> trying(@Nonnull ExWMF<RuntimeException> exF, @Nonnull String newMessage, @Nullable Object... messageParams)
default void accept(T a1, int a2, int a3, @Nonnull ExWF<RuntimeException> exF)
default LTieIntConsumer<T> trying(@Nonnull ExWF<RuntimeException> exF)
default LTieIntConsumer<T> tryingThen(@Nonnull LConsumer<Throwable> handler)
default void nestingAccept(T a1, int a2, int a3)
Function call that handles exceptions by always nesting checked exceptions and propagating the others as is.
default void shovingAccept(T a1, int a2, int a3)
Function call that handles exceptions by always propagating them as is, even when they are undeclared checked ones.
static <T> void handlingAccept(T a1,
int a2,
int a3,
LTieIntConsumer<T> func,
HandlingInstructions<Throwable,RuntimeException> handling)
static <T> void tryAccept(T a1,
int a2,
int a3,
LTieIntConsumer<T> func)
static <T> void tryAccept(T a1,
int a2,
int a3,
LTieIntConsumer<T> func,
@Nonnull
ExWMF<RuntimeException> exF,
@Nonnull
String newMessage,
@Nullable
Object... messageParams)
static <T> void tryAccept(T a1,
int a2,
int a3,
LTieIntConsumer<T> func,
@Nonnull
ExWF<RuntimeException> exF)
static <T> void tryAcceptThen(T a1,
int a2,
int a3,
LTieIntConsumer<T> func,
@Nonnull
LConsumer<Throwable> handler)
default void failSafeAccept(T a1, int a2, int a3, @Nonnull LTieIntConsumer<T> failSafe)
static <T> void failSafeAccept(T a1,
int a2,
int a3,
LTieIntConsumer<T> func,
@Nonnull
LTieIntConsumer<T> failSafe)
static <T> LTieIntConsumer<T> failSafe(LTieIntConsumer<T> func, @Nonnull LTieIntConsumer<T> failSafe)
@Nonnull default String functionalInterfaceDescription()
Returns description of the functional interface.
functionalInterfaceDescription in interface MetaFunctionalInterfacedefault LTieIntFunction<T> toTieFunction()
toTieFunction in interface TieConsumer<T,aType.aInt>static <T> void fromTo(int min_i,
int max_i,
T a1,
int a2,
int a3,
LTieIntConsumer<T> func)
From-To. Intended to be used with non-capturing lambda.
static <T> void fromTill(int min_i,
int max_i,
T a1,
int a2,
int a3,
LTieIntConsumer<T> func)
From-To. Intended to be used with non-capturing lambda.
static <T> void times(int max_i,
T a1,
int a2,
int a3,
LTieIntConsumer<T> func)
From-To. Intended to be used with non-capturing lambda.
default LBiIntConsumer lShrink(LBiIntFunction<T> left)
default LBiIntConsumer lShrinkc(T a1)
static <T> LBiIntConsumer lShrinked(LBiIntFunction<T> left, LTieIntConsumer<T> func)
static <T> LBiIntConsumer lShrinkedc(T a1, LTieIntConsumer<T> func)
default LObjIntConsumer<T> rShrink(LOiToIntFunction<T> right)
default LObjIntConsumer<T> rShrinkc(int a3)
static <T> LObjIntConsumer<T> rShrinked(LOiToIntFunction<T> right, LTieIntConsumer<T> func)
static <T> LObjIntConsumer<T> rShrinkedc(int a3, LTieIntConsumer<T> func)
static <T> LTieIntConsumer<T> uncurry(LFunction<T,LIntFunction<LIntConsumer>> func)
default LTieIntConsumer untyped()
Cast that removes generics.
default <V2> LTieIntConsumer<V2> cast()
Cast that replace generics.
static <V2,T> LTieIntConsumer<V2> cast(LTieIntConsumer<T> function)
Cast that replace generics.
@Nonnull static <T> LTieIntConsumer<T> accept1st(@Nonnull LConsumer<T> func)
Captures single parameter function into this interface where only 1st parameter will be used.
@Nonnull static <T> LTieIntConsumer<T> accept2nd(@Nonnull LIntConsumer func)
Captures single parameter function into this interface where only 2nd parameter will be used.
@Nonnull static <T> LTieIntConsumer<T> accept3rd(@Nonnull LIntConsumer func)
Captures single parameter function into this interface where only 3rd parameter will be used.
@Nonnull static <T> LTieIntConsumer<T> tieIntCons(@Nonnull LTieIntConsumer<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T> LTieIntConsumer<T> recursive(@Nonnull LFunction<LTieIntConsumer<T>,LTieIntConsumer<T>> selfLambda)
@Nonnull static <T> LTieIntConsumer<T> tieIntConsThrowing(@Nonnull ExF<Throwable> exF)
@Nonnull static <T> LTieIntConsumer<T> tieIntConsThrowing(String message, @Nonnull ExMF<Throwable> exF)
@Nonnull static <T> LTieIntConsumer.LObj0Int2Int1Cons<T> obj0Int2Int1Cons(@Nonnull LTieIntConsumer.LObj0Int2Int1Cons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T> LTieIntConsumer.LInt1Obj0Int2Cons<T> int1Obj0Int2Cons(@Nonnull LTieIntConsumer.LInt1Obj0Int2Cons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T> LTieIntConsumer.LInt1Int2Obj0Cons<T> int1Int2Obj0Cons(@Nonnull LTieIntConsumer.LInt1Int2Obj0Cons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T> LTieIntConsumer.LInt2Obj0Int1Cons<T> int2Obj0Int1Cons(@Nonnull LTieIntConsumer.LInt2Obj0Int1Cons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T> LTieIntConsumer.LBiInt1Obj0Cons<T> biInt1Obj0Cons(@Nonnull LTieIntConsumer.LBiInt1Obj0Cons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
static <T> void call(T a1,
int a2,
int a3,
@Nonnull
LTieIntConsumer<T> lambda)
@Nonnull static <T> LTieIntConsumer<T> safe()
Safe instance.
@Nonnull static <T> LSupplier<LTieIntConsumer<T>> safeSupplier()
Safe instance supplier. Returns supplier of safe() instance.
@Nonnull static <T> LTieIntConsumer<T> safe(@Nullable LTieIntConsumer<T> other)
Safe wrapping. Either argument function is returned (if it is not null) or safe() instance.
@Nonnull static <T> LSupplier<LTieIntConsumer<T>> safeSupplier(@Nullable LSupplier<LTieIntConsumer<T>> supplier)
Safe supplier. Either argument supplier is returned (if it is not null) or supplier of safe() instance.
@Nonnull default <V1> LTieIntConsumer<V1> compose(@Nonnull LFunction<? super V1,? extends T> before1, @Nonnull LIntUnaryOperator before2, @Nonnull LIntUnaryOperator before3)
Allows to manipulate the domain of the function.
static <V1,T> LTieIntConsumer<V1> composed(@Nonnull LFunction<? super V1,? extends T> before1, @Nonnull LIntUnaryOperator before2, @Nonnull LIntUnaryOperator before3, LTieIntConsumer<T> after)
@Nonnull default <V1,V2,V3> LTriConsumer<V1,V2,V3> tieIntConsCompose(@Nonnull LFunction<? super V1,? extends T> before1, @Nonnull LToIntFunction<? super V2> before2, @Nonnull LToIntFunction<? super V3> before3)
Allows to manipulate the domain of the function.
static <V1,V2,V3,T> LTriConsumer<V1,V2,V3> composed(@Nonnull LFunction<? super V1,? extends T> before1, @Nonnull LToIntFunction<? super V2> before2, @Nonnull LToIntFunction<? super V3> before3, LTieIntConsumer<T> after)
@Nonnull default LTieIntConsumer<T> andThen(@Nonnull LTieIntConsumer<? super T> after)
Combines two LTieIntConsumer
static <T> void doNothing(T a1,
int a2,
int a3)
Does nothing (LTieIntConsumer)
static <T> void doNothing(int a2,
T a1,
int a3)
Does nothing (LTieIntConsumer.LInt1Obj0Int2Cons)
static <T> void doNothing(int a2,
int a3,
T a1)
Does nothing (LTieIntConsumer.LInt1Int2Obj0Cons)
static <C1,C2,C3,T> int forEach(IndexedRead<C1,aType.a<T>> ia1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, IndexedRead<C3,aType.aInt> ia3, C3 source3, LTieIntConsumer<? super T> 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,T> int iterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, IndexedRead<C3,aType.aInt> ia3, C3 source3, LTieIntConsumer<? super T> 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,T> int iterate(IndexedRead<C1,aType.a<T>> ia1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, IndexedRead<C3,aType.aInt> ia3, C3 source3, LTieIntConsumer<? super T> 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,T> int iterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, IndexedRead<C3,aType.aInt> ia3, C3 source3, LTieIntConsumer<? super T> 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,T> int iterate(IndexedRead<C1,aType.a<T>> ia1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, SequentialRead<C3,I3,aType.aInt> sa3, C3 source3, LTieIntConsumer<? super T> 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,T> int iterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, SequentialRead<C3,I3,aType.aInt> sa3, C3 source3, LTieIntConsumer<? super T> 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,T> int iterate(IndexedRead<C1,aType.a<T>> ia1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, SequentialRead<C3,I3,aType.aInt> sa3, C3 source3, LTieIntConsumer<? super T> 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,T> int iterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, SequentialRead<C3,I3,aType.aInt> sa3, C3 source3, LTieIntConsumer<? super T> 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,T> int indexed2ndForEach(IndexedRead<C1,aType.a<T>> ia1, C1 source1, IndexedRead<C3,aType.aInt> ia3, C3 source3, LTieIntConsumer<? super T> 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,T> int indexed2ndIterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, IndexedRead<C3,aType.aInt> ia3, C3 source3, LTieIntConsumer<? super T> 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,T> int indexed2ndIterate(IndexedRead<C1,aType.a<T>> ia1, C1 source1, SequentialRead<C3,I3,aType.aInt> sa3, C3 source3, LTieIntConsumer<? super T> 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,T> int indexed2ndIterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, SequentialRead<C3,I3,aType.aInt> sa3, C3 source3, LTieIntConsumer<? super T> 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 <C1,C2,T> int indexed3rdForEach(IndexedRead<C1,aType.a<T>> ia1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, LTieIntConsumer<? super T> 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,C2,T> int indexed3rdIterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, LTieIntConsumer<? super T> 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,C2,I2,T> int indexed3rdIterate(IndexedRead<C1,aType.a<T>> ia1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, LTieIntConsumer<? super T> 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,C2,I2,T> int indexed3rdIterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, LTieIntConsumer<? super T> 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 <T,C2,C3> T targetedForEach(T a1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.aInt> ia3,
C3 source3,
LTieIntConsumer<? super T> 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 <T,C2,I2,C3> T targetedIterate(T a1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.aInt> ia3,
C3 source3,
LTieIntConsumer<? super T> 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 <T,C2,C3,I3> T targetedIterate(T a1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aInt> sa3,
C3 source3,
LTieIntConsumer<? super T> 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 <T,C2,I2,C3,I3> T targetedIterate(T a1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aInt> sa3,
C3 source3,
LTieIntConsumer<? super T> 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,
T trg1,
SRC src3,
OiFunction<SRC,aType.aInt> 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=T trg1, type=CONST}, SourcePurpose{arg=int a3, type=TIE_SOURCE}, SourcePurpose{arg=int a3, type=TIE_GEN_SUPPLIER}]
genericTieForEach in interface TieConsumer<T,aType.aInt>static <T,C3> T tiForEach(T trg1,
IndexedRead<C3,aType.aInt> ia3,
C3 source3,
LTieIntConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=int a3, type=IA}, SourcePurpose{arg=LTieIntConsumer<? super T> consumer, type=CONST}]
static <T,C3> T ntiForEach(LIntFunction<T> trgFactory1, IndexedRead<C3,aType.aInt> ia3, C3 source3, LTieIntConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH_NEW: FOR, [SourcePurpose{arg=T trg1, type=SIZE_FACTORY}, SourcePurpose{arg=int a3, type=IA}, SourcePurpose{arg=LTieIntConsumer<? super T> consumer, type=CONST}]
static <T,C3> int tieForEach(T trg1,
IndexedRead<C3,aType.aInt> ia3,
C3 source3,
LTieIntConsumer<? super T> consumer)
ITERATION: TIE_CONSUMER_SHORT: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=int a3, type=IA}, SourcePurpose{arg=LTieIntConsumer<? super T> consumer, type=CONST}]
static <T,SRC> int tieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
LOiToIntFunction<SRC> srcAcc3,
LTieIntConsumer<? 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=int a3, type=TIE_SOURCE}, SourcePurpose{arg=int a3, type=TIE_SUPPLIER}, SourcePurpose{arg=LTieIntConsumer<? super T> consumer, type=CONST}]
static <T,SRC> int tieForEach(int sStart,
int tStart,
T trg1,
SRC src3,
LPredicate<SRC> srcTest3,
LToIntFunction<SRC> srcAcc3,
LTieIntConsumer<? super T> 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 <T,C3,I3> int tieIterate(T trg1,
SequentialRead<C3,I3,aType.aInt> sa3,
C3 source3,
LTieIntConsumer<? super T> 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 <T,C3,I3> T tiIterate(T trg1,
SequentialRead<C3,I3,aType.aInt> sa3,
C3 source3,
LTieIntConsumer<? super T> 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 <T,C3,I3> T ntiIterate(LSupplier<T> source1, SequentialRead<C3,I3,aType.aInt> sa3, C3 source3, LTieIntConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_ITERATE_NEW: WHILE, [SourcePurpose{arg=T trg1, type=SUPPLIER}, SourcePurpose{arg=int a3, type=SA}, SourcePurpose{arg=LTieIntConsumer<? super T> consumer, type=CONST}]
Copyright © 2019. All rights reserved.