@FunctionalInterface public interface LTieFltFunction<T> extends MetaFunction, MetaInterface.NonThrowing, TieFunction<T,aType.aFloat>, Codomain<aType.aInt>, Domain3<aType.a<T>,aType.aInt,aType.aFloat>
Non-throwing functional interface (lambda) LTieFltFunction for Java 8.
Type: function
Domain (lvl: 3): T a1,int a2,float 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 |
LTieFltFunction.LFltIntObjToIntFunc<T>
Permutation of LTieFltFunction for method references.
|
static interface |
LTieFltFunction.LFltObjIntToIntFunc<T>
Permutation of LTieFltFunction for method references.
|
static interface |
LTieFltFunction.LIntFltObjToIntFunc<T>
Permutation of LTieFltFunction for method references.
|
static interface |
LTieFltFunction.LIntObjFltToIntFunc<T>
Permutation of LTieFltFunction for method references.
|
static interface |
LTieFltFunction.LObjFltIntToIntFunc<T>
Permutation of LTieFltFunction for method references.
|
static class |
LTieFltFunction.LTieFltFunctionSingle<T> |
MetaInterface.NonThrowing, MetaInterface.Throwing<X>| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIPTION |
| Modifier and Type | Method and Description |
|---|---|
static <T> LTieFltFunction<T> |
apply1stAsInt(LToIntFunction<T> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <T> LTieFltFunction<T> |
apply2ndAsInt(LIntUnaryOperator func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
static <T> LTieFltFunction<T> |
apply3rdAsInt(LFltToIntFunction func)
Captures single parameter function into this interface where only 3rd parameter will be used.
|
default int |
applyAsInt(T a1,
int a2,
float a3) |
default int |
applyAsInt(T a1,
int a2,
float a3,
ExWF<RuntimeException> exF) |
default int |
applyAsInt(T a1,
int a2,
float a3,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default int |
applyAsIntThen(T a1,
int a2,
float a3,
LToIntFunction<Throwable> handler) |
int |
applyAsIntX(T a1,
int a2,
float a3)
Implement this, but call applyAsInt(T a1,int a2,float a3)
|
static <T> int |
call(T a1,
int a2,
float a3,
LTieFltFunction<T> lambda) |
default LIntSupplier |
capture(T a1,
int a2,
float a3)
Captures arguments but delays the evaluation.
|
default <V2> LTieFltFunction<V2> |
cast()
Cast that replace generics.
|
static <V2,T> LTieFltFunction<V2> |
cast(LTieFltFunction<T> function)
Cast that replace generics.
|
default <V1> LTieFltFunction<V1> |
compose(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LFltUnaryOperator before3)
Allows to manipulate the domain of the function.
|
static <V1,T> LTieFltFunction<V1> |
composed(LFunction<? super V1,? extends T> before1,
LIntUnaryOperator before2,
LFltUnaryOperator before3,
LTieFltFunction<T> after) |
static <V1,V2,V3,T> |
composed(LFunction<? super V1,? extends T> before1,
LToIntFunction<? super V2> before2,
LToFltFunction<? super V3> before3,
LTieFltFunction<T> after) |
static <T> LTieFltFunction<T> |
constant(int r)
Creates function that always returns the same value.
|
static <T> LTieFltFunction<T> |
failSafe(LTieFltFunction<T> func,
LTieFltFunction<T> failSafe) |
default int |
failSafeApplyAsInt(T a1,
int a2,
float a3,
LTieFltFunction<T> failSafe) |
static <T> int |
failSafeApplyAsInt(T a1,
int a2,
float a3,
LTieFltFunction<T> func,
LTieFltFunction<T> failSafe) |
static <T> LTieFltFunction.LFltIntObjToIntFunc<T> |
fltIntObjToIntFunc(LTieFltFunction.LFltIntObjToIntFunc<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LTieFltFunction.LFltObjIntToIntFunc<T> |
fltObjIntToIntFunc(LTieFltFunction.LFltObjIntToIntFunc<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> void |
forEach(IndexedRead<C1,aType.a<T>> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.aFloat> 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,
float a3,
LTieFltFunction<T> func)
From-To.
|
static <T> void |
fromTo(int min_a2,
int max_a2,
T a1,
float a3,
LTieFltFunction<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.aFloat> 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=float a3, type=TIE_SOURCE}, SourcePurpose{arg=float a3, type=TIE_GEN_SUPPLIER}]
|
default LTieFltFunction<T> |
handling(HandlingInstructions<Throwable,RuntimeException> handling) |
default int |
handlingApplyAsInt(T a1,
int a2,
float a3,
HandlingInstructions<Throwable,RuntimeException> handling)
Function call that handles exceptions according to the instructions.
|
static <T> int |
handlingApplyAsInt(T a1,
int a2,
float a3,
LTieFltFunction<T> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <T> LTieFltFunction.LIntFltObjToIntFunc<T> |
intFltObjToIntFunc(LTieFltFunction.LIntFltObjToIntFunc<T> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T> LTieFltFunction.LIntObjFltToIntFunc<T> |
intObjFltToIntFunc(LTieFltFunction.LIntObjFltToIntFunc<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.aFloat> 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.aFloat> 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.aFloat> 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.aFloat> 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.aFloat> 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.aFloat> 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.aFloat> 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,
float a3)
Function call that handles exceptions by always nesting checked exceptions and propagating the others as is.
|
default int |
nonNullApplyAsInt(T a1,
int a2,
float a3)
Just to mirror the method: Ensures the result is not null
|
static <T,C3> T |
ntiForEach(LIntFunction<T> trgFactory1,
IndexedRead<C3,aType.aFloat> ia3,
C3 source3,
LTieFltFunction<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH_NEW: FOR, [SourcePurpose{arg=T trg1, type=SIZE_FACTORY}, SourcePurpose{arg=float a3, type=IA}, SourcePurpose{arg=LTieFltFunction<? super T> consumer, type=CONST}]
|
static <T,C3,I3> T |
ntiIterate(LSupplier<T> source1,
SequentialRead<C3,I3,aType.aFloat> sa3,
C3 source3,
LTieFltFunction<? super T> consumer)
ITERATION: TARGETED_INDEXED_ITERATE_NEW: WHILE, [SourcePurpose{arg=T trg1, type=SUPPLIER}, SourcePurpose{arg=float a3, type=SA}, SourcePurpose{arg=LTieFltFunction<? super T> consumer, type=CONST}]
|
static <T> LTieFltFunction.LObjFltIntToIntFunc<T> |
objFltIntToIntFunc(LTieFltFunction.LObjFltIntToIntFunc<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(float a3,
int a2,
T a1)
Does nothing (LTieFltFunction.LFltIntObjToIntFunc) Function
|
static <T> int |
produceInt(float a3,
T a1,
int a2)
Does nothing (LTieFltFunction.LFltObjIntToIntFunc) Function
|
static <T> int |
produceInt(int a2,
float a3,
T a1)
Does nothing (LTieFltFunction.LIntFltObjToIntFunc) Function
|
static <T> int |
produceInt(int a2,
T a1,
float a3)
Does nothing (LTieFltFunction.LIntObjFltToIntFunc) Function
|
static <T> int |
produceInt(T a1,
float a3,
int a2)
Does nothing (LTieFltFunction.LObjFltIntToIntFunc) Function
|
static <T> int |
produceInt(T a1,
int a2,
float a3)
Does nothing (LTieFltFunction) Function
|
static <T> LTieFltFunction<T> |
recursive(LFunction<LTieFltFunction<T>,LTieFltFunction<T>> selfLambda) |
static <T> LTieFltFunction<T> |
safe()
Safe instance.
|
static <T> LTieFltFunction<T> |
safe(LTieFltFunction<T> other)
Safe wrapping.
|
static <T> LSupplier<LTieFltFunction<T>> |
safeSupplier()
Safe instance supplier.
|
static <T> LSupplier<LTieFltFunction<T>> |
safeSupplier(LSupplier<LTieFltFunction<T>> supplier)
Safe supplier.
|
default int |
shovingApplyAsInt(T a1,
int a2,
float a3)
Function call that handles exceptions by always propagating them as is, even when they are undeclared checked ones.
|
default <V> LObjIntFltFunction<T,V> |
then(LIntFunction<? extends V> after)
Combines two functions together in a order.
|
default LObjIntFltPredicate<T> |
thenToBool(LIntPredicate after)
Combines two functions together in a order.
|
default LTieFltFunction<T> |
thenToInt(LIntUnaryOperator after)
Combines two functions together in a order.
|
static <T> LTieFltFunction<T> |
tieFltFunc(LTieFltFunction<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> |
tieFltFuncCompose(LFunction<? super V1,? extends T> before1,
LToIntFunction<? super V2> before2,
LToFltFunction<? super V3> before3)
Allows to manipulate the domain of the function.
|
static <T> LTieFltFunction<T> |
tieFltFuncThrowing(ExF<Throwable> exF) |
static <T> LTieFltFunction<T> |
tieFltFuncThrowing(String message,
ExMF<Throwable> exF) |
static <T,SRC> int |
tieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
LOiToFltFunction<SRC> srcAcc3,
LTieFltFunction<? 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=float a3, type=TIE_SOURCE}, SourcePurpose{arg=float a3, type=TIE_SUPPLIER}, SourcePurpose{arg=LTieFltFunction<? super T> consumer, type=CONST}]
|
static <T,SRC> int |
tieForEach(int sStart,
int tStart,
T trg1,
SRC src3,
LPredicate<SRC> srcTest3,
LToFltFunction<SRC> srcAcc3,
LTieFltFunction<? 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.aFloat> ia3,
C3 source3,
LTieFltFunction<? super T> consumer)
ITERATION: TIE_CONSUMER_SHORT: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=float a3, type=IA}, SourcePurpose{arg=LTieFltFunction<? super T> consumer, type=CONST}]
|
static <T,C3,I3> int |
tieIterate(T trg1,
SequentialRead<C3,I3,aType.aFloat> sa3,
C3 source3,
LTieFltFunction<? 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.aFloat> ia3,
C3 source3,
LTieFltFunction<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=float a3, type=IA}, SourcePurpose{arg=LTieFltFunction<? super T> consumer, type=CONST}]
|
static <T,C3,I3> T |
tiIterate(T trg1,
SequentialRead<C3,I3,aType.aFloat> sa3,
C3 source3,
LTieFltFunction<? 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,
float a3,
LTieFltFunction<T> func)
From-To.
|
static <T> int |
tryApplyAsInt(T a1,
int a2,
float a3,
LTieFltFunction<T> func) |
static <T> int |
tryApplyAsInt(T a1,
int a2,
float a3,
LTieFltFunction<T> func,
ExWF<RuntimeException> exF) |
static <T> int |
tryApplyAsInt(T a1,
int a2,
float a3,
LTieFltFunction<T> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T> int |
tryApplyAsIntThen(T a1,
int a2,
float a3,
LTieFltFunction<T> func,
LToIntFunction<Throwable> handler) |
default LTieFltFunction<T> |
trying(ExWF<RuntimeException> exF) |
default LTieFltFunction<T> |
trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LTieFltFunction<T> |
tryingThen(LToIntFunction<Throwable> handler) |
default int |
tupleApplyAsInt(LObjIntFltTriple<T> args) |
static <T> LTieFltFunction<T> |
uncurry(LFunction<T,LIntFunction<LFltToIntFunction>> func) |
default LTieFltFunction |
untyped()
Cast that removes generics.
|
isThrowingisFunctionformatTo, isAction, isConsumer, isOperator, isPredicate, isSupplierstatic final String DESCRIPTION
default int applyAsInt(T a1, int a2, float a3)
int applyAsIntX(T a1, int a2, float a3) throws Throwable
Implement this, but call applyAsInt(T a1,int a2,float a3)
Throwabledefault int tupleApplyAsInt(LObjIntFltTriple<T> args)
default int handlingApplyAsInt(T a1, int a2, float a3, HandlingInstructions<Throwable,RuntimeException> handling)
Function call that handles exceptions according to the instructions.
default LTieFltFunction<T> handling(HandlingInstructions<Throwable,RuntimeException> handling)
default int applyAsInt(T a1, int a2, float a3, @Nonnull ExWMF<RuntimeException> exF, @Nonnull String newMessage, @Nullable Object... messageParams)
default LTieFltFunction<T> trying(@Nonnull ExWMF<RuntimeException> exF, @Nonnull String newMessage, @Nullable Object... messageParams)
default int applyAsInt(T a1, int a2, float a3, @Nonnull ExWF<RuntimeException> exF)
default LTieFltFunction<T> trying(@Nonnull ExWF<RuntimeException> exF)
default int applyAsIntThen(T a1, int a2, float a3, @Nonnull LToIntFunction<Throwable> handler)
default LTieFltFunction<T> tryingThen(@Nonnull LToIntFunction<Throwable> handler)
default int nestingApplyAsInt(T a1, int a2, float a3)
Function call that handles exceptions by always nesting checked exceptions and propagating the others as is.
default int shovingApplyAsInt(T a1, int a2, float 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,
float a3,
LTieFltFunction<T> func,
HandlingInstructions<Throwable,RuntimeException> handling)
static <T> int tryApplyAsInt(T a1,
int a2,
float a3,
LTieFltFunction<T> func)
static <T> int tryApplyAsInt(T a1,
int a2,
float a3,
LTieFltFunction<T> func,
@Nonnull
ExWMF<RuntimeException> exF,
@Nonnull
String newMessage,
@Nullable
Object... messageParams)
static <T> int tryApplyAsInt(T a1,
int a2,
float a3,
LTieFltFunction<T> func,
@Nonnull
ExWF<RuntimeException> exF)
static <T> int tryApplyAsIntThen(T a1,
int a2,
float a3,
LTieFltFunction<T> func,
@Nonnull
LToIntFunction<Throwable> handler)
default int failSafeApplyAsInt(T a1, int a2, float a3, @Nonnull LTieFltFunction<T> failSafe)
static <T> int failSafeApplyAsInt(T a1,
int a2,
float a3,
LTieFltFunction<T> func,
@Nonnull
LTieFltFunction<T> failSafe)
static <T> LTieFltFunction<T> failSafe(LTieFltFunction<T> func, @Nonnull LTieFltFunction<T> failSafe)
default int nonNullApplyAsInt(T a1, int a2, float 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,
float a3,
LTieFltFunction<T> func)
From-To. Intended to be used with non-capturing lambda.
static <T> void fromTill(int min_a2,
int max_a2,
T a1,
float a3,
LTieFltFunction<T> func)
From-To. Intended to be used with non-capturing lambda.
static <T> void times(int max_a2,
T a1,
float a3,
LTieFltFunction<T> func)
From-To. Intended to be used with non-capturing lambda.
static <T> LTieFltFunction<T> uncurry(LFunction<T,LIntFunction<LFltToIntFunction>> func)
default LTieFltFunction untyped()
Cast that removes generics.
default <V2> LTieFltFunction<V2> cast()
Cast that replace generics.
static <V2,T> LTieFltFunction<V2> cast(LTieFltFunction<T> function)
Cast that replace generics.
default LIntSupplier capture(T a1, int a2, float a3)
Captures arguments but delays the evaluation.
static <T> LTieFltFunction<T> constant(int r)
Creates function that always returns the same value.
@Nonnull static <T> LTieFltFunction<T> apply1stAsInt(@Nonnull LToIntFunction<T> func)
Captures single parameter function into this interface where only 1st parameter will be used.
@Nonnull static <T> LTieFltFunction<T> apply2ndAsInt(@Nonnull LIntUnaryOperator func)
Captures single parameter function into this interface where only 2nd parameter will be used.
@Nonnull static <T> LTieFltFunction<T> apply3rdAsInt(@Nonnull LFltToIntFunction func)
Captures single parameter function into this interface where only 3rd parameter will be used.
@Nonnull static <T> LTieFltFunction<T> tieFltFunc(@Nonnull LTieFltFunction<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> LTieFltFunction<T> recursive(@Nonnull LFunction<LTieFltFunction<T>,LTieFltFunction<T>> selfLambda)
@Nonnull static <T> LTieFltFunction<T> tieFltFuncThrowing(@Nonnull ExF<Throwable> exF)
@Nonnull static <T> LTieFltFunction<T> tieFltFuncThrowing(String message, @Nonnull ExMF<Throwable> exF)
@Nonnull static <T> LTieFltFunction.LObjFltIntToIntFunc<T> objFltIntToIntFunc(@Nonnull LTieFltFunction.LObjFltIntToIntFunc<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> LTieFltFunction.LIntObjFltToIntFunc<T> intObjFltToIntFunc(@Nonnull LTieFltFunction.LIntObjFltToIntFunc<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> LTieFltFunction.LIntFltObjToIntFunc<T> intFltObjToIntFunc(@Nonnull LTieFltFunction.LIntFltObjToIntFunc<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> LTieFltFunction.LFltObjIntToIntFunc<T> fltObjIntToIntFunc(@Nonnull LTieFltFunction.LFltObjIntToIntFunc<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> LTieFltFunction.LFltIntObjToIntFunc<T> fltIntObjToIntFunc(@Nonnull LTieFltFunction.LFltIntObjToIntFunc<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,
float a3,
@Nonnull
LTieFltFunction<T> lambda)
@Nonnull static <T> LTieFltFunction<T> safe()
Safe instance. That always returns the same value (as produceInt).
@Nonnull static <T> LSupplier<LTieFltFunction<T>> safeSupplier()
Safe instance supplier. Returns supplier of safe() instance.
@Nonnull static <T> LTieFltFunction<T> safe(@Nullable LTieFltFunction<T> other)
Safe wrapping. Either argument function is returned (if it is not null) or safe() instance.
@Nonnull static <T> LSupplier<LTieFltFunction<T>> safeSupplier(@Nullable LSupplier<LTieFltFunction<T>> supplier)
Safe supplier. Either argument supplier is returned (if it is not null) or supplier of safe() instance.
@Nonnull default <V1> LTieFltFunction<V1> compose(@Nonnull LFunction<? super V1,? extends T> before1, @Nonnull LIntUnaryOperator before2, @Nonnull LFltUnaryOperator before3)
Allows to manipulate the domain of the function.
static <V1,T> LTieFltFunction<V1> composed(@Nonnull LFunction<? super V1,? extends T> before1, @Nonnull LIntUnaryOperator before2, @Nonnull LFltUnaryOperator before3, LTieFltFunction<T> after)
@Nonnull default <V1,V2,V3> LToIntTriFunction<V1,V2,V3> tieFltFuncCompose(@Nonnull LFunction<? super V1,? extends T> before1, @Nonnull LToIntFunction<? super V2> before2, @Nonnull LToFltFunction<? 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 LToFltFunction<? super V3> before3, LTieFltFunction<T> after)
@Nonnull default <V> LObjIntFltFunction<T,V> then(@Nonnull LIntFunction<? extends V> after)
Combines two functions together in a order.
@Nonnull default LTieFltFunction<T> thenToInt(@Nonnull LIntUnaryOperator after)
Combines two functions together in a order.
@Nonnull default LObjIntFltPredicate<T> thenToBool(@Nonnull LIntPredicate after)
Combines two functions together in a order.
static <T> int produceInt(T a1,
int a2,
float a3)
Does nothing (LTieFltFunction) Function
static <T> int produceInt(T a1,
float a3,
int a2)
Does nothing (LTieFltFunction.LObjFltIntToIntFunc) Function
static <T> int produceInt(int a2,
T a1,
float a3)
Does nothing (LTieFltFunction.LIntObjFltToIntFunc) Function
static <T> int produceInt(int a2,
float a3,
T a1)
Does nothing (LTieFltFunction.LIntFltObjToIntFunc) Function
static <T> int produceInt(float a3,
T a1,
int a2)
Does nothing (LTieFltFunction.LFltObjIntToIntFunc) Function
static <T> int produceInt(float a3,
int a2,
T a1)
Does nothing (LTieFltFunction.LFltIntObjToIntFunc) Function
default <SRC> int genericTieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
OiFunction<SRC,aType.aFloat> 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=float a3, type=TIE_SOURCE}, SourcePurpose{arg=float a3, type=TIE_GEN_SUPPLIER}]
genericTieForEach in interface TieFunction<T,aType.aFloat>static <T,C3> T tiForEach(T trg1,
IndexedRead<C3,aType.aFloat> ia3,
C3 source3,
LTieFltFunction<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=float a3, type=IA}, SourcePurpose{arg=LTieFltFunction<? super T> consumer, type=CONST}]
static <T,C3> T ntiForEach(LIntFunction<T> trgFactory1, IndexedRead<C3,aType.aFloat> ia3, C3 source3, LTieFltFunction<? super T> consumer)
ITERATION: TARGETED_INDEXED_FOR_EACH_NEW: FOR, [SourcePurpose{arg=T trg1, type=SIZE_FACTORY}, SourcePurpose{arg=float a3, type=IA}, SourcePurpose{arg=LTieFltFunction<? super T> consumer, type=CONST}]
static <T,C3> int tieForEach(T trg1,
IndexedRead<C3,aType.aFloat> ia3,
C3 source3,
LTieFltFunction<? super T> consumer)
ITERATION: TIE_CONSUMER_SHORT: FOR, [SourcePurpose{arg=T trg1, type=CONST}, SourcePurpose{arg=float a3, type=IA}, SourcePurpose{arg=LTieFltFunction<? super T> consumer, type=CONST}]
static <T,SRC> int tieForEach(int sStart,
int sEnd,
int tStart,
T trg1,
SRC src3,
LOiToFltFunction<SRC> srcAcc3,
LTieFltFunction<? 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=float a3, type=TIE_SOURCE}, SourcePurpose{arg=float a3, type=TIE_SUPPLIER}, SourcePurpose{arg=LTieFltFunction<? super T> consumer, type=CONST}]
static <T,SRC> int tieForEach(int sStart,
int tStart,
T trg1,
SRC src3,
LPredicate<SRC> srcTest3,
LToFltFunction<SRC> srcAcc3,
LTieFltFunction<? 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.aFloat> sa3,
C3 source3,
LTieFltFunction<? 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.aFloat> sa3,
C3 source3,
LTieFltFunction<? 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.aFloat> sa3, C3 source3, LTieFltFunction<? super T> consumer)
ITERATION: TARGETED_INDEXED_ITERATE_NEW: WHILE, [SourcePurpose{arg=T trg1, type=SUPPLIER}, SourcePurpose{arg=float a3, type=SA}, SourcePurpose{arg=LTieFltFunction<? 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.aFloat> 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.aFloat> 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.aFloat> 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.aFloat> 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.aFloat> 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.aFloat> 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.aFloat> 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.aFloat> 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.