@FunctionalInterface public interface LTieSrtConsumer<T> extends MetaConsumer, MetaInterface.NonThrowing, TieConsumer<T,aType.aShort>, Codomain<aType.aVoid>, Domain3<aType.a<T>,aType.aInt,aType.aShort>
Non-throwing functional interface (lambda) LTieSrtConsumer for Java 8.
Type: consumer
Domain (lvl: 3): T a1,int a2,short 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 |
LTieSrtConsumer.LIntObjSrtCons<T>
Permutation of LTieSrtConsumer for method references.
|
static interface |
LTieSrtConsumer.LIntSrtObjCons<T>
Permutation of LTieSrtConsumer for method references.
|
static interface |
LTieSrtConsumer.LObjSrtIntCons<T>
Permutation of LTieSrtConsumer for method references.
|
static interface |
LTieSrtConsumer.LSrtIntObjCons<T>
Permutation of LTieSrtConsumer for method references.
|
static interface |
LTieSrtConsumer.LSrtObjIntCons<T>
Permutation of LTieSrtConsumer for method references.
|
static class |
LTieSrtConsumer.LTieSrtConsumerSingle<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,
short a3) |
default void |
accept(T a1,
int a2,
short a3,
ExWF<RuntimeException> exF) |
default void |
accept(T a1,
int a2,
short a3,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T> LTieSrtConsumer<T> |
accept1st(LConsumer<T> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <T> LTieSrtConsumer<T> |
accept2nd(LIntConsumer func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
static <T> LTieSrtConsumer<T> |
accept3rd(LSrtConsumer func)
Captures single parameter function into this interface where only 3rd parameter will be used.
|
default void |
acceptThen(T a1,
int a2,
short a3,
LConsumer<Throwable> handler) |
void |
acceptX(T a1,
int a2,
short a3)
Implement this, but call accept(T a1,int a2,short a3)
|
default LTieSrtConsumer<T> |
andThen(LTieSrtConsumer<? super T> after)
Combines two LTieSrtConsumer
|
static <T> void |
call(T a1,
int a2,
short a3,
LTieSrtConsumer<T> lambda) |
default LAction |
capture(T a1,
int a2,
short a3)
Captures arguments but delays the evaluation.
|
default <V2> LTieSrtConsumer<V2> |
cast()
Cast that replace generics.
|
static <V2,T> LTieSrtConsumer<V2> |
cast(LTieSrtConsumer<T> function)
Cast that replace generics.
|
default <V1> LTieSrtConsumer<V1> |
compose(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LSrtUnaryOperator before3)
Allows to manipulate the domain of the function.
|
static <V1,T> LTieSrtConsumer<V1> |
composed(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LSrtUnaryOperator before3,
LTieSrtConsumer<T> after) |
static <V1,V2,V3,T> |
composed(LFunction<? super V1,? extends T> before1,
LToIntFunction<? super V2> before2,
LToSrtFunction<? super V3> before3,
LTieSrtConsumer<T> after) |
static <T> void |
doNothing(int a2,
short a3,
T a1)
Does nothing (LTieSrtConsumer.LIntSrtObjCons)
|
static <T> void |
doNothing(int a2,
T a1,
short a3)
Does nothing (LTieSrtConsumer.LIntObjSrtCons)
|
static <T> void |
doNothing(short a3,
int a2,
T a1)
Does nothing (LTieSrtConsumer.LSrtIntObjCons)
|
static <T> void |
doNothing(short a3,
T a1,
int a2)
Does nothing (LTieSrtConsumer.LSrtObjIntCons)
|
static <T> void |
doNothing(T a1,
int a2,
short a3)
Does nothing (LTieSrtConsumer)
|
static <T> void |
doNothing(T a1,
short a3,
int a2)
Does nothing (LTieSrtConsumer.LObjSrtIntCons)
|
static <T> LTieSrtConsumer<T> |
failSafe(LTieSrtConsumer<T> func,
LTieSrtConsumer<T> failSafe) |
default void |
failSafeAccept(T a1,
int a2,
short a3,
LTieSrtConsumer<T> failSafe) |
static <T> void |
failSafeAccept(T a1,
int a2,
short a3,
LTieSrtConsumer<T> func,
LTieSrtConsumer<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.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <T> void |
fromTill(int min_a2,
int max_a2,
T a1,
short a3,
LTieSrtConsumer<T> func)
From-To.
|
static <T> void |
fromTo(int min_a2,
int max_a2,
T a1,
short a3,
LTieSrtConsumer<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.aShort> 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=short a3, type=TIE_SOURCE}, SourcePurpose{arg=short a3, type=TIE_GEN_SUPPLIER}]
|
default LTieSrtConsumer<T> |
handling(HandlingInstructions<Throwable,RuntimeException> handling) |
default void |
handlingAccept(T a1,
int a2,
short a3,
HandlingInstructions<Throwable,RuntimeException> handling)
Function call that handles exceptions according to the instructions.
|
static <T> void |
handlingAccept(T a1,
int a2,
short a3,
LTieSrtConsumer<T> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <C1,C3,T> int |
indexedForEach(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C3,aType.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,C3,I3,T> |
indexedIterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
SequentialRead<C3,I3,aType.aShort> sa3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,I1,C3,T> |
indexedIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
IndexedRead<C3,aType.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,I1,C3,I3,T> |
indexedIterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
SequentialRead<C3,I3,aType.aShort> sa3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <T> LTieSrtConsumer.LIntObjSrtCons<T> |
intObjSrtCons(LTieSrtConsumer.LIntObjSrtCons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LTieSrtConsumer.LIntSrtObjCons<T> |
intSrtObjCons(LTieSrtConsumer.LIntSrtObjCons<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.aShort> sa3,
C3 source3,
LTieSrtConsumer<? 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.aShort> ia3,
C3 source3,
LTieSrtConsumer<? 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.aShort> sa3,
C3 source3,
LTieSrtConsumer<? 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.aShort> ia3,
C3 source3,
LTieSrtConsumer<? 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.aShort> sa3,
C3 source3,
LTieSrtConsumer<? 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.aShort> ia3,
C3 source3,
LTieSrtConsumer<? 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.aShort> sa3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer.
|
default void |
nestingAccept(T a1,
int a2,
short 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.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH_NEW: FOR, [SourcePurpose{arg=T trg1, type=SIZE_FACTORY}, SourcePurpose{arg=short a3, type=IA}, SourcePurpose{arg=LTieSrtConsumer<? super T> consumer, type=CONST}]
|
static <T,C3,I3> T |
ntiIterate(LSupplier<T> source1,
SequentialRead<C3,I3,aType.aShort> sa3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_ITERATE_NEW: WHILE, [SourcePurpose{arg=T trg1, type=SUPPLIER}, SourcePurpose{arg=short a3, type=SA}, SourcePurpose{arg=LTieSrtConsumer<? super T> consumer, type=CONST}]
|
static <T> LTieSrtConsumer.LObjSrtIntCons<T> |
objSrtIntCons(LTieSrtConsumer.LObjSrtIntCons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LTieSrtConsumer<T> |
recursive(LFunction<LTieSrtConsumer<T>,LTieSrtConsumer<T>> selfLambda) |
static <T> LTieSrtConsumer<T> |
safe()
Safe instance.
|
static <T> LTieSrtConsumer<T> |
safe(LTieSrtConsumer<T> other)
Safe wrapping.
|
static <T> LSupplier<LTieSrtConsumer<T>> |
safeSupplier()
Safe instance supplier.
|
static <T> LSupplier<LTieSrtConsumer<T>> |
safeSupplier(LSupplier<LTieSrtConsumer<T>> supplier)
Safe supplier.
|
default void |
shovingAccept(T a1,
int a2,
short a3)
Function call that handles exceptions by always propagating them as is, even when they are undeclared checked ones.
|
static <T> LTieSrtConsumer.LSrtIntObjCons<T> |
srtIntObjCons(LTieSrtConsumer.LSrtIntObjCons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LTieSrtConsumer.LSrtObjIntCons<T> |
srtObjIntCons(LTieSrtConsumer.LSrtObjIntCons<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T,C2,C3> T |
targetedForEach(T a1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.aShort> ia3,
C3 source3,
LTieSrtConsumer<? 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.aShort> sa3,
C3 source3,
LTieSrtConsumer<? 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.aShort> ia3,
C3 source3,
LTieSrtConsumer<? 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.aShort> sa3,
C3 source3,
LTieSrtConsumer<? 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,
LOiToSrtFunction<SRC> srcAcc3,
LTieSrtConsumer<? 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=short a3, type=TIE_SOURCE}, SourcePurpose{arg=short a3, type=TIE_SUPPLIER}, SourcePurpose{arg=LTieSrtConsumer<? super T> consumer, type=CONST}]
|
static <T,SRC> int |
tieForEach(int sStart,
int tStart,
T trg1,
SRC src3,
LPredicate<SRC> srcTest3,
LToSrtFunction<SRC> srcAcc3,
LTieSrtConsumer<? 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.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
ITERATION: TIE_CONSUMER_SHORT: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=short a3, type=IA}, SourcePurpose{arg=LTieSrtConsumer<? super T> consumer, type=CONST}]
|
static <T,C3,I3> int |
tieIterate(T trg1,
SequentialRead<C3,I3,aType.aShort> sa3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element).
|
static <T> LTieSrtConsumer<T> |
tieSrtCons(LTieSrtConsumer<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> |
tieSrtConsCompose(LFunction<? super V1,? extends T> before1,
LToIntFunction<? super V2> before2,
LToSrtFunction<? super V3> before3)
Allows to manipulate the domain of the function.
|
static <T> LTieSrtConsumer<T> |
tieSrtConsThrowing(ExF<Throwable> exF) |
static <T> LTieSrtConsumer<T> |
tieSrtConsThrowing(String message,
ExMF<Throwable> exF) |
static <T,C3> T |
tiForEach(T trg1,
IndexedRead<C3,aType.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=short a3, type=IA}, SourcePurpose{arg=LTieSrtConsumer<? super T> consumer, type=CONST}]
|
static <T,C3,I3> T |
tiIterate(T trg1,
SequentialRead<C3,I3,aType.aShort> sa3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
For each element (or tuple) from arguments, calls the consumer (with TIE: ‘target’, index, element).
|
static <T> void |
times(int max_a2,
T a1,
short a3,
LTieSrtConsumer<T> func)
From-To.
|
default LTieSrtFunction<T> |
toTieFunction() |
static <T> void |
tryAccept(T a1,
int a2,
short a3,
LTieSrtConsumer<T> func) |
static <T> void |
tryAccept(T a1,
int a2,
short a3,
LTieSrtConsumer<T> func,
ExWF<RuntimeException> exF) |
static <T> void |
tryAccept(T a1,
int a2,
short a3,
LTieSrtConsumer<T> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T> void |
tryAcceptThen(T a1,
int a2,
short a3,
LTieSrtConsumer<T> func,
LConsumer<Throwable> handler) |
default LTieSrtConsumer<T> |
trying(ExWF<RuntimeException> exF) |
default LTieSrtConsumer<T> |
trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LTieSrtConsumer<T> |
tryingThen(LConsumer<Throwable> handler) |
default LTuple.Void |
tupleAccept(LObjIntSrtTriple<T> args) |
static <T> LTieSrtConsumer<T> |
uncurry(LFunction<T,LIntFunction<LSrtConsumer>> func) |
default LTieSrtConsumer |
untyped()
Cast that removes generics.
|
isThrowingisConsumerformatTo, isAction, isFunction, isOperator, isPredicate, isSupplierstatic final String DESCRIPTION
default void accept(T a1, int a2, short a3)
void acceptX(T a1, int a2, short a3) throws Throwable
Implement this, but call accept(T a1,int a2,short a3)
Throwabledefault LTuple.Void tupleAccept(LObjIntSrtTriple<T> args)
default void handlingAccept(T a1, int a2, short a3, HandlingInstructions<Throwable,RuntimeException> handling)
Function call that handles exceptions according to the instructions.
default LTieSrtConsumer<T> handling(HandlingInstructions<Throwable,RuntimeException> handling)
default void accept(T a1, int a2, short a3, @Nonnull ExWMF<RuntimeException> exF, @Nonnull String newMessage, @Nullable Object... messageParams)
default LTieSrtConsumer<T> trying(@Nonnull ExWMF<RuntimeException> exF, @Nonnull String newMessage, @Nullable Object... messageParams)
default void accept(T a1, int a2, short a3, @Nonnull ExWF<RuntimeException> exF)
default LTieSrtConsumer<T> trying(@Nonnull ExWF<RuntimeException> exF)
default LTieSrtConsumer<T> tryingThen(@Nonnull LConsumer<Throwable> handler)
default void nestingAccept(T a1, int a2, short a3)
Function call that handles exceptions by always nesting checked exceptions and propagating the others as is.
default void shovingAccept(T a1, int a2, short 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,
short a3,
LTieSrtConsumer<T> func,
HandlingInstructions<Throwable,RuntimeException> handling)
static <T> void tryAccept(T a1,
int a2,
short a3,
LTieSrtConsumer<T> func)
static <T> void tryAccept(T a1,
int a2,
short a3,
LTieSrtConsumer<T> func,
@Nonnull
ExWMF<RuntimeException> exF,
@Nonnull
String newMessage,
@Nullable
Object... messageParams)
static <T> void tryAccept(T a1,
int a2,
short a3,
LTieSrtConsumer<T> func,
@Nonnull
ExWF<RuntimeException> exF)
static <T> void tryAcceptThen(T a1,
int a2,
short a3,
LTieSrtConsumer<T> func,
@Nonnull
LConsumer<Throwable> handler)
default void failSafeAccept(T a1, int a2, short a3, @Nonnull LTieSrtConsumer<T> failSafe)
static <T> void failSafeAccept(T a1,
int a2,
short a3,
LTieSrtConsumer<T> func,
@Nonnull
LTieSrtConsumer<T> failSafe)
static <T> LTieSrtConsumer<T> failSafe(LTieSrtConsumer<T> func, @Nonnull LTieSrtConsumer<T> failSafe)
@Nonnull default String functionalInterfaceDescription()
Returns description of the functional interface.
functionalInterfaceDescription in interface MetaFunctionalInterfacedefault LTieSrtFunction<T> toTieFunction()
toTieFunction in interface TieConsumer<T,aType.aShort>static <T> void fromTo(int min_a2,
int max_a2,
T a1,
short a3,
LTieSrtConsumer<T> func)
From-To. Intended to be used with non-capturing lambda.
static <T> void fromTill(int min_a2,
int max_a2,
T a1,
short a3,
LTieSrtConsumer<T> func)
From-To. Intended to be used with non-capturing lambda.
static <T> void times(int max_a2,
T a1,
short a3,
LTieSrtConsumer<T> func)
From-To. Intended to be used with non-capturing lambda.
static <T> LTieSrtConsumer<T> uncurry(LFunction<T,LIntFunction<LSrtConsumer>> func)
default LTieSrtConsumer untyped()
Cast that removes generics.
default <V2> LTieSrtConsumer<V2> cast()
Cast that replace generics.
static <V2,T> LTieSrtConsumer<V2> cast(LTieSrtConsumer<T> function)
Cast that replace generics.
default LAction capture(T a1, int a2, short a3)
Captures arguments but delays the evaluation.
@Nonnull static <T> LTieSrtConsumer<T> accept1st(@Nonnull LConsumer<T> func)
Captures single parameter function into this interface where only 1st parameter will be used.
@Nonnull static <T> LTieSrtConsumer<T> accept2nd(@Nonnull LIntConsumer func)
Captures single parameter function into this interface where only 2nd parameter will be used.
@Nonnull static <T> LTieSrtConsumer<T> accept3rd(@Nonnull LSrtConsumer func)
Captures single parameter function into this interface where only 3rd parameter will be used.
@Nonnull static <T> LTieSrtConsumer<T> tieSrtCons(@Nonnull LTieSrtConsumer<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> LTieSrtConsumer<T> recursive(@Nonnull LFunction<LTieSrtConsumer<T>,LTieSrtConsumer<T>> selfLambda)
@Nonnull static <T> LTieSrtConsumer<T> tieSrtConsThrowing(@Nonnull ExF<Throwable> exF)
@Nonnull static <T> LTieSrtConsumer<T> tieSrtConsThrowing(String message, @Nonnull ExMF<Throwable> exF)
@Nonnull static <T> LTieSrtConsumer.LObjSrtIntCons<T> objSrtIntCons(@Nonnull LTieSrtConsumer.LObjSrtIntCons<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> LTieSrtConsumer.LIntObjSrtCons<T> intObjSrtCons(@Nonnull LTieSrtConsumer.LIntObjSrtCons<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> LTieSrtConsumer.LIntSrtObjCons<T> intSrtObjCons(@Nonnull LTieSrtConsumer.LIntSrtObjCons<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> LTieSrtConsumer.LSrtObjIntCons<T> srtObjIntCons(@Nonnull LTieSrtConsumer.LSrtObjIntCons<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> LTieSrtConsumer.LSrtIntObjCons<T> srtIntObjCons(@Nonnull LTieSrtConsumer.LSrtIntObjCons<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,
short a3,
@Nonnull
LTieSrtConsumer<T> lambda)
@Nonnull static <T> LTieSrtConsumer<T> safe()
Safe instance.
@Nonnull static <T> LSupplier<LTieSrtConsumer<T>> safeSupplier()
Safe instance supplier. Returns supplier of safe() instance.
@Nonnull static <T> LTieSrtConsumer<T> safe(@Nullable LTieSrtConsumer<T> other)
Safe wrapping. Either argument function is returned (if it is not null) or safe() instance.
@Nonnull static <T> LSupplier<LTieSrtConsumer<T>> safeSupplier(@Nullable LSupplier<LTieSrtConsumer<T>> supplier)
Safe supplier. Either argument supplier is returned (if it is not null) or supplier of safe() instance.
@Nonnull default <V1> LTieSrtConsumer<V1> compose(@Nonnull LFunction<? super V1,? extends T> before1, @Nonnull LIntUnaryOperator before2, @Nonnull LSrtUnaryOperator before3)
Allows to manipulate the domain of the function.
static <V1,T> LTieSrtConsumer<V1> composed(@Nonnull LFunction<? super V1,? extends T> before1, @Nonnull LIntUnaryOperator before2, @Nonnull LSrtUnaryOperator before3, LTieSrtConsumer<T> after)
@Nonnull default <V1,V2,V3> LTriConsumer<V1,V2,V3> tieSrtConsCompose(@Nonnull LFunction<? super V1,? extends T> before1, @Nonnull LToIntFunction<? super V2> before2, @Nonnull LToSrtFunction<? 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 LToSrtFunction<? super V3> before3, LTieSrtConsumer<T> after)
@Nonnull default LTieSrtConsumer<T> andThen(@Nonnull LTieSrtConsumer<? super T> after)
Combines two LTieSrtConsumer
static <T> void doNothing(T a1,
int a2,
short a3)
Does nothing (LTieSrtConsumer)
static <T> void doNothing(T a1,
short a3,
int a2)
Does nothing (LTieSrtConsumer.LObjSrtIntCons)
static <T> void doNothing(int a2,
T a1,
short a3)
Does nothing (LTieSrtConsumer.LIntObjSrtCons)
static <T> void doNothing(int a2,
short a3,
T a1)
Does nothing (LTieSrtConsumer.LIntSrtObjCons)
static <T> void doNothing(short a3,
T a1,
int a2)
Does nothing (LTieSrtConsumer.LSrtObjIntCons)
static <T> void doNothing(short a3,
int a2,
T a1)
Does nothing (LTieSrtConsumer.LSrtIntObjCons)
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.aShort> ia3, C3 source3, LTieSrtConsumer<? 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.aShort> ia3, C3 source3, LTieSrtConsumer<? 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.aShort> ia3, C3 source3, LTieSrtConsumer<? 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.aShort> ia3, C3 source3, LTieSrtConsumer<? 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.aShort> sa3, C3 source3, LTieSrtConsumer<? 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.aShort> sa3, C3 source3, LTieSrtConsumer<? 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.aShort> sa3, C3 source3, LTieSrtConsumer<? 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.aShort> sa3, C3 source3, LTieSrtConsumer<? 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 indexedForEach(IndexedRead<C1,aType.a<T>> ia1, C1 source1, IndexedRead<C3,aType.aShort> ia3, C3 source3, LTieSrtConsumer<? 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 indexedIterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, IndexedRead<C3,aType.aShort> ia3, C3 source3, LTieSrtConsumer<? 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 indexedIterate(IndexedRead<C1,aType.a<T>> ia1, C1 source1, SequentialRead<C3,I3,aType.aShort> sa3, C3 source3, LTieSrtConsumer<? 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 indexedIterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, SequentialRead<C3,I3,aType.aShort> sa3, C3 source3, LTieSrtConsumer<? 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.aShort> ia3,
C3 source3,
LTieSrtConsumer<? 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.aShort> ia3,
C3 source3,
LTieSrtConsumer<? 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.aShort> sa3,
C3 source3,
LTieSrtConsumer<? 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.aShort> sa3,
C3 source3,
LTieSrtConsumer<? 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.aShort> 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=short a3, type=TIE_SOURCE}, SourcePurpose{arg=short a3, type=TIE_GEN_SUPPLIER}]
genericTieForEach in interface TieConsumer<T,aType.aShort>static <T,C3> T tiForEach(T trg1,
IndexedRead<C3,aType.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=short a3, type=IA}, SourcePurpose{arg=LTieSrtConsumer<? super T> consumer, type=CONST}]
static <T,C3> T ntiForEach(LIntFunction<T> trgFactory1, IndexedRead<C3,aType.aShort> ia3, C3 source3, LTieSrtConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH_NEW: FOR, [SourcePurpose{arg=T trg1, type=SIZE_FACTORY}, SourcePurpose{arg=short a3, type=IA}, SourcePurpose{arg=LTieSrtConsumer<? super T> consumer, type=CONST}]
static <T,C3> int tieForEach(T trg1,
IndexedRead<C3,aType.aShort> ia3,
C3 source3,
LTieSrtConsumer<? super T> consumer)
ITERATION: TIE_CONSUMER_SHORT: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=short a3, type=IA}, SourcePurpose{arg=LTieSrtConsumer<? super T> consumer, type=CONST}]
static <T,SRC> int tieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
LOiToSrtFunction<SRC> srcAcc3,
LTieSrtConsumer<? 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=short a3, type=TIE_SOURCE}, SourcePurpose{arg=short a3, type=TIE_SUPPLIER}, SourcePurpose{arg=LTieSrtConsumer<? super T> consumer, type=CONST}]
static <T,SRC> int tieForEach(int sStart,
int tStart,
T trg1,
SRC src3,
LPredicate<SRC> srcTest3,
LToSrtFunction<SRC> srcAcc3,
LTieSrtConsumer<? 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.aShort> sa3,
C3 source3,
LTieSrtConsumer<? 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.aShort> sa3,
C3 source3,
LTieSrtConsumer<? 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.aShort> sa3, C3 source3, LTieSrtConsumer<? super T> consumer)
ITERATION: TARGETED_INDEXED_ITERATE_NEW: WHILE, [SourcePurpose{arg=T trg1, type=SUPPLIER}, SourcePurpose{arg=short a3, type=SA}, SourcePurpose{arg=LTieSrtConsumer<? super T> consumer, type=CONST}]
Copyright © 2019. All rights reserved.