@FunctionalInterface public interface LTieCharFunction<T> extends MetaFunction, MetaInterface.NonThrowing, TieFunction<T,aType.aChar>, Codomain<aType.aInt>, Domain3<aType.a<T>,aType.aInt,aType.aChar>
Non-throwing functional interface (lambda) LTieCharFunction for Java 8.
Type: function
Domain (lvl: 3): T a1,int a2,char a3
Co-domain: int
Special case of function that corresponds to TIE consumer with return integer value.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LTieCharFunction.LCharIntObjToIntFunc<T>
Permutation of LTieCharFunction for method references.
|
static interface |
LTieCharFunction.LCharObjIntToIntFunc<T>
Permutation of LTieCharFunction for method references.
|
static interface |
LTieCharFunction.LIntCharObjToIntFunc<T>
Permutation of LTieCharFunction for method references.
|
static interface |
LTieCharFunction.LIntObjCharToIntFunc<T>
Permutation of LTieCharFunction for method references.
|
static interface |
LTieCharFunction.LObjCharIntToIntFunc<T>
Permutation of LTieCharFunction for method references.
|
static class |
LTieCharFunction.LTieCharFunctionSingle<T> |
MetaInterface.NonThrowing, MetaInterface.Throwing<X>| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIPTION |
| Modifier and Type | Method and Description |
|---|---|
static <T> LTieCharFunction<T> |
apply1stAsInt(LToIntFunction<T> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <T> LTieCharFunction<T> |
apply2ndAsInt(LIntUnaryOperator func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
static <T> LTieCharFunction<T> |
apply3rdAsInt(LCharToIntFunction func)
Captures single parameter function into this interface where only 3rd parameter will be used.
|
default int |
applyAsInt(T a1,
int a2,
char a3) |
default int |
applyAsInt(T a1,
int a2,
char a3,
ExWF<RuntimeException> exF) |
default int |
applyAsInt(T a1,
int a2,
char a3,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default int |
applyAsIntThen(T a1,
int a2,
char a3,
LToIntFunction<Throwable> handler) |
int |
applyAsIntX(T a1,
int a2,
char a3)
Implement this, but call applyAsInt(T a1,int a2,char a3)
|
static <T> int |
call(T a1,
int a2,
char a3,
LTieCharFunction<T> lambda) |
default LIntSupplier |
capture(T a1,
int a2,
char a3)
Captures arguments but delays the evaluation.
|
default <V2> LTieCharFunction<V2> |
cast()
Cast that replace generics.
|
static <V2,T> LTieCharFunction<V2> |
cast(LTieCharFunction<T> function)
Cast that replace generics.
|
static <T> LTieCharFunction.LCharIntObjToIntFunc<T> |
charIntObjToIntFunc(LTieCharFunction.LCharIntObjToIntFunc<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LTieCharFunction.LCharObjIntToIntFunc<T> |
charObjIntToIntFunc(LTieCharFunction.LCharObjIntToIntFunc<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
default <V1> LTieCharFunction<V1> |
compose(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LCharUnaryOperator before3)
Allows to manipulate the domain of the function.
|
static <V1,T> LTieCharFunction<V1> |
composed(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LCharUnaryOperator before3,
LTieCharFunction<T> after) |
static <V1,V2,V3,T> |
composed(LFunction<? super V1,? extends T> before1,
LToIntFunction<? super V2> before2,
LToCharFunction<? super V3> before3,
LTieCharFunction<T> after) |
static <T> LTieCharFunction<T> |
constant(int r)
Creates function that always returns the same value.
|
static <T> LTieCharFunction<T> |
failSafe(LTieCharFunction<T> func,
LTieCharFunction<T> failSafe) |
default int |
failSafeApplyAsInt(T a1,
int a2,
char a3,
LTieCharFunction<T> failSafe) |
static <T> int |
failSafeApplyAsInt(T a1,
int a2,
char a3,
LTieCharFunction<T> func,
LTieCharFunction<T> failSafe) |
default <C1,C2,C3> void |
forEach(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.aChar> ia3,
C3 source3,
LIntConsumer consumer)
For each element (or tuple) from arguments, calls the function and passes the result to consumer.
|
static <T> void |
fromTill(int min_a2,
int max_a2,
T a1,
char a3,
LTieCharFunction<T> func)
From-To.
|
static <T> void |
fromTo(int min_a2,
int max_a2,
T a1,
char a3,
LTieCharFunction<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.aChar> 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=char a3, type=TIE_SOURCE}, SourcePurpose{arg=char a3, type=TIE_GEN_SUPPLIER}]
|
default LTieCharFunction<T> |
handling(HandlingInstructions<Throwable,RuntimeException> handling) |
default int |
handlingApplyAsInt(T a1,
int a2,
char a3,
HandlingInstructions<Throwable,RuntimeException> handling)
Function call that handles exceptions according to the instructions.
|
static <T> int |
handlingApplyAsInt(T a1,
int a2,
char a3,
LTieCharFunction<T> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <T> LTieCharFunction.LIntCharObjToIntFunc<T> |
intCharObjToIntFunc(LTieCharFunction.LIntCharObjToIntFunc<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LTieCharFunction.LIntObjCharToIntFunc<T> |
intObjCharToIntFunc(LTieCharFunction.LIntObjCharToIntFunc<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
default <C1,C2,C3,I3> |
iterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aChar> sa3,
C3 source3,
LIntConsumer consumer)
For each element (or tuple) from arguments, calls the function and passes the result to consumer.
|
default <C1,C2,I2,C3> |
iterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.aChar> ia3,
C3 source3,
LIntConsumer consumer)
For each element (or tuple) from arguments, calls the function and passes the result to consumer.
|
default <C1,C2,I2,C3,I3> |
iterate(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aChar> sa3,
C3 source3,
LIntConsumer consumer)
For each element (or tuple) from arguments, calls the function and passes the result to consumer.
|
default <C1,I1,C2,C3> |
iterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.aChar> ia3,
C3 source3,
LIntConsumer consumer)
For each element (or tuple) from arguments, calls the function and passes the result to consumer.
|
default <C1,I1,C2,C3,I3> |
iterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.aChar> sa3,
C3 source3,
LIntConsumer consumer)
For each element (or tuple) from arguments, calls the function and passes the result to consumer.
|
default <C1,I1,C2,I2,C3> |
iterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.aChar> ia3,
C3 source3,
LIntConsumer consumer)
For each element (or tuple) from arguments, calls the function and passes the result to consumer.
|
default <C1,I1,C2,I2,C3,I3> |
iterate(SequentialRead<C1,I1,aType.a<T>> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.aChar> sa3,
C3 source3,
LIntConsumer consumer)
For each element (or tuple) from arguments, calls the function and passes the result to consumer.
|
default int |
nestingApplyAsInt(T a1,
int a2,
char a3)
Function call that handles exceptions by always nesting checked exceptions and propagating the others as is.
|
default int |
nonNullApplyAsInt(T a1,
int a2,
char a3)
Just to mirror the method: Ensures the result is not null
|
static <T,C3> T |
ntiForEach(LIntFunction<T> trgFactory1,
IndexedRead<C3,aType.aChar> ia3,
C3 source3,
LTieCharFunction<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH_NEW: FOR, [SourcePurpose{arg=T trg1, type=SIZE_FACTORY}, SourcePurpose{arg=char a3, type=IA}, SourcePurpose{arg=LTieCharFunction<? super T> consumer, type=CONST}]
|
static <T,C3,I3> T |
ntiIterate(LSupplier<T> source1,
SequentialRead<C3,I3,aType.aChar> sa3,
C3 source3,
LTieCharFunction<? super T> consumer)
ITERATION: TARGETED_INDEXED_ITERATE_NEW: WHILE, [SourcePurpose{arg=T trg1, type=SUPPLIER}, SourcePurpose{arg=char a3, type=SA}, SourcePurpose{arg=LTieCharFunction<? super T> consumer, type=CONST}]
|
static <T> LTieCharFunction.LObjCharIntToIntFunc<T> |
objCharIntToIntFunc(LTieCharFunction.LObjCharIntToIntFunc<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> int |
produceInt(char a3,
int a2,
T a1)
Does nothing (LTieCharFunction.LCharIntObjToIntFunc) Function
|
static <T> int |
produceInt(char a3,
T a1,
int a2)
Does nothing (LTieCharFunction.LCharObjIntToIntFunc) Function
|
static <T> int |
produceInt(int a2,
char a3,
T a1)
Does nothing (LTieCharFunction.LIntCharObjToIntFunc) Function
|
static <T> int |
produceInt(int a2,
T a1,
char a3)
Does nothing (LTieCharFunction.LIntObjCharToIntFunc) Function
|
static <T> int |
produceInt(T a1,
char a3,
int a2)
Does nothing (LTieCharFunction.LObjCharIntToIntFunc) Function
|
static <T> int |
produceInt(T a1,
int a2,
char a3)
Does nothing (LTieCharFunction) Function
|
static <T> LTieCharFunction<T> |
recursive(LFunction<LTieCharFunction<T>,LTieCharFunction<T>> selfLambda) |
static <T> LTieCharFunction<T> |
safe()
Safe instance.
|
static <T> LTieCharFunction<T> |
safe(LTieCharFunction<T> other)
Safe wrapping.
|
static <T> LSupplier<LTieCharFunction<T>> |
safeSupplier()
Safe instance supplier.
|
static <T> LSupplier<LTieCharFunction<T>> |
safeSupplier(LSupplier<LTieCharFunction<T>> supplier)
Safe supplier.
|
default int |
shovingApplyAsInt(T a1,
int a2,
char a3)
Function call that handles exceptions by always propagating them as is, even when they are undeclared checked ones.
|
default <V> LObjIntCharFunction<T,V> |
then(LIntFunction<? extends V> after)
Combines two functions together in a order.
|
default LObjIntCharPredicate<T> |
thenToBool(LIntPredicate after)
Combines two functions together in a order.
|
default LTieCharFunction<T> |
thenToInt(LIntUnaryOperator after)
Combines two functions together in a order.
|
static <T> LTieCharFunction<T> |
tieCharFunc(LTieCharFunction<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> LToIntTriFunction<V1,V2,V3> |
tieCharFuncCompose(LFunction<? super V1,? extends T> before1,
LToIntFunction<? super V2> before2,
LToCharFunction<? super V3> before3)
Allows to manipulate the domain of the function.
|
static <T> LTieCharFunction<T> |
tieCharFuncThrowing(ExF<Throwable> exF) |
static <T> LTieCharFunction<T> |
tieCharFuncThrowing(String message,
ExMF<Throwable> exF) |
static <T,SRC> int |
tieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
LOiToCharFunction<SRC> srcAcc3,
LTieCharFunction<? 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=char a3, type=TIE_SOURCE}, SourcePurpose{arg=char a3, type=TIE_SUPPLIER}, SourcePurpose{arg=LTieCharFunction<? super T> consumer, type=CONST}]
|
static <T,SRC> int |
tieForEach(int sStart,
int tStart,
T trg1,
SRC src3,
LPredicate<SRC> srcTest3,
LToCharFunction<SRC> srcAcc3,
LTieCharFunction<? 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.aChar> ia3,
C3 source3,
LTieCharFunction<? super T> consumer)
ITERATION: TIE_CONSUMER_SHORT: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=char a3, type=IA}, SourcePurpose{arg=LTieCharFunction<? super T> consumer, type=CONST}]
|
static <T,C3,I3> int |
tieIterate(T trg1,
SequentialRead<C3,I3,aType.aChar> sa3,
C3 source3,
LTieCharFunction<? 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.aChar> ia3,
C3 source3,
LTieCharFunction<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=char a3, type=IA}, SourcePurpose{arg=LTieCharFunction<? super T> consumer, type=CONST}]
|
static <T,C3,I3> T |
tiIterate(T trg1,
SequentialRead<C3,I3,aType.aChar> sa3,
C3 source3,
LTieCharFunction<? 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,
char a3,
LTieCharFunction<T> func)
From-To.
|
static <T> int |
tryApplyAsInt(T a1,
int a2,
char a3,
LTieCharFunction<T> func) |
static <T> int |
tryApplyAsInt(T a1,
int a2,
char a3,
LTieCharFunction<T> func,
ExWF<RuntimeException> exF) |
static <T> int |
tryApplyAsInt(T a1,
int a2,
char a3,
LTieCharFunction<T> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T> int |
tryApplyAsIntThen(T a1,
int a2,
char a3,
LTieCharFunction<T> func,
LToIntFunction<Throwable> handler) |
default LTieCharFunction<T> |
trying(ExWF<RuntimeException> exF) |
default LTieCharFunction<T> |
trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LTieCharFunction<T> |
tryingThen(LToIntFunction<Throwable> handler) |
default int |
tupleApplyAsInt(LObjIntCharTriple<T> args) |
static <T> LTieCharFunction<T> |
uncurry(LFunction<T,LIntFunction<LCharToIntFunction>> func) |
default LTieCharFunction |
untyped()
Cast that removes generics.
|
isThrowingisFunctionformatTo, isAction, isConsumer, isOperator, isPredicate, isSupplierstatic final String DESCRIPTION
default int applyAsInt(T a1, int a2, char a3)
int applyAsIntX(T a1, int a2, char a3) throws Throwable
Implement this, but call applyAsInt(T a1,int a2,char a3)
Throwabledefault int tupleApplyAsInt(LObjIntCharTriple<T> args)
default int handlingApplyAsInt(T a1, int a2, char a3, HandlingInstructions<Throwable,RuntimeException> handling)
Function call that handles exceptions according to the instructions.
default LTieCharFunction<T> handling(HandlingInstructions<Throwable,RuntimeException> handling)
default int applyAsInt(T a1, int a2, char a3, @Nonnull ExWMF<RuntimeException> exF, @Nonnull String newMessage, @Nullable Object... messageParams)
default LTieCharFunction<T> trying(@Nonnull ExWMF<RuntimeException> exF, @Nonnull String newMessage, @Nullable Object... messageParams)
default int applyAsInt(T a1, int a2, char a3, @Nonnull ExWF<RuntimeException> exF)
default LTieCharFunction<T> trying(@Nonnull ExWF<RuntimeException> exF)
default int applyAsIntThen(T a1, int a2, char a3, @Nonnull LToIntFunction<Throwable> handler)
default LTieCharFunction<T> tryingThen(@Nonnull LToIntFunction<Throwable> handler)
default int nestingApplyAsInt(T a1, int a2, char a3)
Function call that handles exceptions by always nesting checked exceptions and propagating the others as is.
default int shovingApplyAsInt(T a1, int a2, char a3)
Function call that handles exceptions by always propagating them as is, even when they are undeclared checked ones.
static <T> int handlingApplyAsInt(T a1,
int a2,
char a3,
LTieCharFunction<T> func,
HandlingInstructions<Throwable,RuntimeException> handling)
static <T> int tryApplyAsInt(T a1,
int a2,
char a3,
LTieCharFunction<T> func)
static <T> int tryApplyAsInt(T a1,
int a2,
char a3,
LTieCharFunction<T> func,
@Nonnull
ExWMF<RuntimeException> exF,
@Nonnull
String newMessage,
@Nullable
Object... messageParams)
static <T> int tryApplyAsInt(T a1,
int a2,
char a3,
LTieCharFunction<T> func,
@Nonnull
ExWF<RuntimeException> exF)
static <T> int tryApplyAsIntThen(T a1,
int a2,
char a3,
LTieCharFunction<T> func,
@Nonnull
LToIntFunction<Throwable> handler)
default int failSafeApplyAsInt(T a1, int a2, char a3, @Nonnull LTieCharFunction<T> failSafe)
static <T> int failSafeApplyAsInt(T a1,
int a2,
char a3,
LTieCharFunction<T> func,
@Nonnull
LTieCharFunction<T> failSafe)
static <T> LTieCharFunction<T> failSafe(LTieCharFunction<T> func, @Nonnull LTieCharFunction<T> failSafe)
default int nonNullApplyAsInt(T a1, int a2, char a3)
Just to mirror the method: Ensures the result is not null
@Nonnull default String functionalInterfaceDescription()
Returns description of the functional interface.
functionalInterfaceDescription in interface MetaFunctionalInterfacestatic <T> void fromTo(int min_a2,
int max_a2,
T a1,
char a3,
LTieCharFunction<T> func)
From-To. Intended to be used with non-capturing lambda.
static <T> void fromTill(int min_a2,
int max_a2,
T a1,
char a3,
LTieCharFunction<T> func)
From-To. Intended to be used with non-capturing lambda.
static <T> void times(int max_a2,
T a1,
char a3,
LTieCharFunction<T> func)
From-To. Intended to be used with non-capturing lambda.
static <T> LTieCharFunction<T> uncurry(LFunction<T,LIntFunction<LCharToIntFunction>> func)
default LTieCharFunction untyped()
Cast that removes generics.
default <V2> LTieCharFunction<V2> cast()
Cast that replace generics.
static <V2,T> LTieCharFunction<V2> cast(LTieCharFunction<T> function)
Cast that replace generics.
default LIntSupplier capture(T a1, int a2, char a3)
Captures arguments but delays the evaluation.
static <T> LTieCharFunction<T> constant(int r)
Creates function that always returns the same value.
@Nonnull static <T> LTieCharFunction<T> apply1stAsInt(@Nonnull LToIntFunction<T> func)
Captures single parameter function into this interface where only 1st parameter will be used.
@Nonnull static <T> LTieCharFunction<T> apply2ndAsInt(@Nonnull LIntUnaryOperator func)
Captures single parameter function into this interface where only 2nd parameter will be used.
@Nonnull static <T> LTieCharFunction<T> apply3rdAsInt(@Nonnull LCharToIntFunction func)
Captures single parameter function into this interface where only 3rd parameter will be used.
@Nonnull static <T> LTieCharFunction<T> tieCharFunc(@Nonnull LTieCharFunction<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> LTieCharFunction<T> recursive(@Nonnull LFunction<LTieCharFunction<T>,LTieCharFunction<T>> selfLambda)
@Nonnull static <T> LTieCharFunction<T> tieCharFuncThrowing(@Nonnull ExF<Throwable> exF)
@Nonnull static <T> LTieCharFunction<T> tieCharFuncThrowing(String message, @Nonnull ExMF<Throwable> exF)
@Nonnull static <T> LTieCharFunction.LObjCharIntToIntFunc<T> objCharIntToIntFunc(@Nonnull LTieCharFunction.LObjCharIntToIntFunc<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> LTieCharFunction.LIntObjCharToIntFunc<T> intObjCharToIntFunc(@Nonnull LTieCharFunction.LIntObjCharToIntFunc<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> LTieCharFunction.LIntCharObjToIntFunc<T> intCharObjToIntFunc(@Nonnull LTieCharFunction.LIntCharObjToIntFunc<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> LTieCharFunction.LCharObjIntToIntFunc<T> charObjIntToIntFunc(@Nonnull LTieCharFunction.LCharObjIntToIntFunc<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> LTieCharFunction.LCharIntObjToIntFunc<T> charIntObjToIntFunc(@Nonnull LTieCharFunction.LCharIntObjToIntFunc<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
static <T> int call(T a1,
int a2,
char a3,
@Nonnull
LTieCharFunction<T> lambda)
@Nonnull static <T> LTieCharFunction<T> safe()
Safe instance. That always returns the same value (as produceInt).
@Nonnull static <T> LSupplier<LTieCharFunction<T>> safeSupplier()
Safe instance supplier. Returns supplier of safe() instance.
@Nonnull static <T> LTieCharFunction<T> safe(@Nullable LTieCharFunction<T> other)
Safe wrapping. Either argument function is returned (if it is not null) or safe() instance.
@Nonnull static <T> LSupplier<LTieCharFunction<T>> safeSupplier(@Nullable LSupplier<LTieCharFunction<T>> supplier)
Safe supplier. Either argument supplier is returned (if it is not null) or supplier of safe() instance.
@Nonnull default <V1> LTieCharFunction<V1> compose(@Nonnull LFunction<? super V1,? extends T> before1, @Nonnull LIntUnaryOperator before2, @Nonnull LCharUnaryOperator before3)
Allows to manipulate the domain of the function.
static <V1,T> LTieCharFunction<V1> composed(@Nonnull LFunction<? super V1,? extends T> before1, @Nonnull LIntUnaryOperator before2, @Nonnull LCharUnaryOperator before3, LTieCharFunction<T> after)
@Nonnull default <V1,V2,V3> LToIntTriFunction<V1,V2,V3> tieCharFuncCompose(@Nonnull LFunction<? super V1,? extends T> before1, @Nonnull LToIntFunction<? super V2> before2, @Nonnull LToCharFunction<? super V3> before3)
Allows to manipulate the domain of the function.
static <V1,V2,V3,T> LToIntTriFunction<V1,V2,V3> composed(@Nonnull LFunction<? super V1,? extends T> before1, @Nonnull LToIntFunction<? super V2> before2, @Nonnull LToCharFunction<? super V3> before3, LTieCharFunction<T> after)
@Nonnull default <V> LObjIntCharFunction<T,V> then(@Nonnull LIntFunction<? extends V> after)
Combines two functions together in a order.
@Nonnull default LTieCharFunction<T> thenToInt(@Nonnull LIntUnaryOperator after)
Combines two functions together in a order.
@Nonnull default LObjIntCharPredicate<T> thenToBool(@Nonnull LIntPredicate after)
Combines two functions together in a order.
static <T> int produceInt(T a1,
int a2,
char a3)
Does nothing (LTieCharFunction) Function
static <T> int produceInt(T a1,
char a3,
int a2)
Does nothing (LTieCharFunction.LObjCharIntToIntFunc) Function
static <T> int produceInt(int a2,
T a1,
char a3)
Does nothing (LTieCharFunction.LIntObjCharToIntFunc) Function
static <T> int produceInt(int a2,
char a3,
T a1)
Does nothing (LTieCharFunction.LIntCharObjToIntFunc) Function
static <T> int produceInt(char a3,
T a1,
int a2)
Does nothing (LTieCharFunction.LCharObjIntToIntFunc) Function
static <T> int produceInt(char a3,
int a2,
T a1)
Does nothing (LTieCharFunction.LCharIntObjToIntFunc) Function
default <SRC> int genericTieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
OiFunction<SRC,aType.aChar> 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=char a3, type=TIE_SOURCE}, SourcePurpose{arg=char a3, type=TIE_GEN_SUPPLIER}]
genericTieForEach in interface TieFunction<T,aType.aChar>static <T,C3> T tiForEach(T trg1,
IndexedRead<C3,aType.aChar> ia3,
C3 source3,
LTieCharFunction<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=char a3, type=IA}, SourcePurpose{arg=LTieCharFunction<? super T> consumer, type=CONST}]
static <T,C3> T ntiForEach(LIntFunction<T> trgFactory1, IndexedRead<C3,aType.aChar> ia3, C3 source3, LTieCharFunction<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH_NEW: FOR, [SourcePurpose{arg=T trg1, type=SIZE_FACTORY}, SourcePurpose{arg=char a3, type=IA}, SourcePurpose{arg=LTieCharFunction<? super T> consumer, type=CONST}]
static <T,C3> int tieForEach(T trg1,
IndexedRead<C3,aType.aChar> ia3,
C3 source3,
LTieCharFunction<? super T> consumer)
ITERATION: TIE_CONSUMER_SHORT: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=char a3, type=IA}, SourcePurpose{arg=LTieCharFunction<? super T> consumer, type=CONST}]
static <T,SRC> int tieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
LOiToCharFunction<SRC> srcAcc3,
LTieCharFunction<? 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=char a3, type=TIE_SOURCE}, SourcePurpose{arg=char a3, type=TIE_SUPPLIER}, SourcePurpose{arg=LTieCharFunction<? super T> consumer, type=CONST}]
static <T,SRC> int tieForEach(int sStart,
int tStart,
T trg1,
SRC src3,
LPredicate<SRC> srcTest3,
LToCharFunction<SRC> srcAcc3,
LTieCharFunction<? 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.aChar> sa3,
C3 source3,
LTieCharFunction<? 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.aChar> sa3,
C3 source3,
LTieCharFunction<? 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.aChar> sa3, C3 source3, LTieCharFunction<? super T> consumer)
ITERATION: TARGETED_INDEXED_ITERATE_NEW: WHILE, [SourcePurpose{arg=T trg1, type=SUPPLIER}, SourcePurpose{arg=char a3, type=SA}, SourcePurpose{arg=LTieCharFunction<? super T> consumer, type=CONST}]
default <C1,C2,C3> void forEach(IndexedRead<C1,aType.a<T>> ia1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, IndexedRead<C3,aType.aChar> ia3, C3 source3, LIntConsumer consumer)
For each element (or tuple) from arguments, calls the function and passes the result to consumer. Thread safety, fail-fast, fail-safety of this method is not expected.
default <C1,I1,C2,C3> void iterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, IndexedRead<C3,aType.aChar> ia3, C3 source3, LIntConsumer consumer)
For each element (or tuple) from arguments, calls the function and passes the result to consumer. Thread safety, fail-fast, fail-safety of this method is not expected.
default <C1,C2,I2,C3> void iterate(IndexedRead<C1,aType.a<T>> ia1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, IndexedRead<C3,aType.aChar> ia3, C3 source3, LIntConsumer consumer)
For each element (or tuple) from arguments, calls the function and passes the result to consumer. Thread safety, fail-fast, fail-safety of this method is not expected.
default <C1,I1,C2,I2,C3> void iterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, IndexedRead<C3,aType.aChar> ia3, C3 source3, LIntConsumer consumer)
For each element (or tuple) from arguments, calls the function and passes the result to consumer. Thread safety, fail-fast, fail-safety of this method is not expected.
default <C1,C2,C3,I3> void iterate(IndexedRead<C1,aType.a<T>> ia1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, SequentialRead<C3,I3,aType.aChar> sa3, C3 source3, LIntConsumer consumer)
For each element (or tuple) from arguments, calls the function and passes the result to consumer. Thread safety, fail-fast, fail-safety of this method is not expected.
default <C1,I1,C2,C3,I3> void iterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, SequentialRead<C3,I3,aType.aChar> sa3, C3 source3, LIntConsumer consumer)
For each element (or tuple) from arguments, calls the function and passes the result to consumer. Thread safety, fail-fast, fail-safety of this method is not expected.
default <C1,C2,I2,C3,I3> void iterate(IndexedRead<C1,aType.a<T>> ia1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, SequentialRead<C3,I3,aType.aChar> sa3, C3 source3, LIntConsumer consumer)
For each element (or tuple) from arguments, calls the function and passes the result to consumer. Thread safety, fail-fast, fail-safety of this method is not expected.
default <C1,I1,C2,I2,C3,I3> void iterate(SequentialRead<C1,I1,aType.a<T>> sa1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, SequentialRead<C3,I3,aType.aChar> sa3, C3 source3, LIntConsumer consumer)
For each element (or tuple) from arguments, calls the function and passes the result to consumer. Thread safety, fail-fast, fail-safety of this method depends highly on the arguments.
Copyright © 2019. All rights reserved.