@FunctionalInterface public interface LFltIntConsumer extends MetaConsumer, MetaInterface.NonThrowing, Codomain<aType.aVoid>, Domain2<aType.aFloat,aType.aInt>
Non-throwing functional interface (lambda) LFltIntConsumer for Java 8.
Type: consumer
Domain (lvl: 2): float a1,int a2
Co-domain: none
| Modifier and Type | Interface and Description |
|---|---|
static class |
LFltIntConsumer.LFltIntConsumerSingle |
static interface |
LFltIntConsumer.LIntFltCons
Permutation of LFltIntConsumer for method references.
|
MetaInterface.NonThrowing, MetaInterface.Throwing<X>| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIPTION |
| Modifier and Type | Method and Description |
|---|---|
default void |
accept(float a1,
int a2) |
default void |
accept(float a1,
int a2,
ExWF<RuntimeException> exF) |
default void |
accept(float a1,
int a2,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static LFltIntConsumer |
accept1st(LFltConsumer func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static LFltIntConsumer |
accept2nd(LIntConsumer func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
default void |
acceptThen(float a1,
int a2,
LConsumer<Throwable> handler) |
void |
acceptX(float a1,
int a2)
Implement this, but call accept(float a1,int a2)
|
default LFltIntConsumer |
andThen(LFltIntConsumer after)
Combines two LFltIntConsumer together in a order.
|
static void |
call(float a1,
int a2,
LFltIntConsumer lambda) |
default LAction |
capture(float a1,
int a2)
Captures arguments but delays the evaluation.
|
default LFltIntConsumer |
compose(LFltUnaryOperator before1,
LIntUnaryOperator before2)
Allows to manipulate the domain of the function.
|
static LFltIntConsumer |
composed(LFltUnaryOperator before1,
LIntUnaryOperator before2,
LFltIntConsumer after) |
static <V1,V2> LBiConsumer<V1,V2> |
composed(LToFltFunction<? super V1> before1,
LToIntFunction<? super V2> before2,
LFltIntConsumer after) |
static void |
doNothing(float a1,
int a2)
Does nothing (LFltIntConsumer)
|
static void |
doNothing(int a2,
float a1)
Does nothing (LFltIntConsumer.LIntFltCons)
|
static LFltIntConsumer |
failSafe(LFltIntConsumer func,
LFltIntConsumer failSafe) |
default void |
failSafeAccept(float a1,
int a2,
LFltIntConsumer failSafe) |
static void |
failSafeAccept(float a1,
int a2,
LFltIntConsumer func,
LFltIntConsumer failSafe) |
static LFltIntConsumer |
fltIntCons(LFltIntConsumer lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
default <V1,V2> LBiConsumer<V1,V2> |
fltIntConsCompose(LToFltFunction<? super V1> before1,
LToIntFunction<? super V2> before2)
Allows to manipulate the domain of the function.
|
static LFltIntConsumer |
fltIntConsThrowing(ExF<Throwable> exF) |
static LFltIntConsumer |
fltIntConsThrowing(String message,
ExMF<Throwable> exF) |
static <C1,C2> int |
forEach(IndexedRead<C1,aType.aFloat> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
LFltIntConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static void |
fromTill(int min_a2,
int max_a2,
float a1,
LFltIntConsumer func)
From-To.
|
static void |
fromTo(int min_a2,
int max_a2,
float a1,
LFltIntConsumer func)
From-To.
|
default String |
functionalInterfaceDescription()
Returns description of the functional interface.
|
default LFltIntConsumer |
handling(HandlingInstructions<Throwable,RuntimeException> handling) |
default void |
handlingAccept(float a1,
int a2,
HandlingInstructions<Throwable,RuntimeException> handling)
Function call that handles exceptions according to the instructions.
|
static void |
handlingAccept(float a1,
int a2,
LFltIntConsumer func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <C1> int |
indexedForEach(IndexedRead<C1,aType.aFloat> ia1,
C1 source1,
LFltIntConsumer consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static <C1,I1> int |
indexedIterate(SequentialRead<C1,I1,aType.aFloat> sa1,
C1 source1,
LFltIntConsumer consumer)
For each element (or tuple) from arguments, calls the consumer (with index).
|
static LFltIntConsumer.LIntFltCons |
intFltCons(LFltIntConsumer.LIntFltCons lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <C1,C2,I2> int |
iterate(IndexedRead<C1,aType.aFloat> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
LFltIntConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2> int |
iterate(SequentialRead<C1,I1,aType.aFloat> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
LFltIntConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C1,I1,C2,I2> |
iterate(SequentialRead<C1,I1,aType.aFloat> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
LFltIntConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
default LIntConsumer |
lShrink(LIntToFltFunction left) |
default LIntConsumer |
lShrinkc(float a1) |
static LIntConsumer |
lShrinked(LIntToFltFunction left,
LFltIntConsumer func) |
static LIntConsumer |
lShrinkedc(float a1,
LFltIntConsumer func) |
default void |
nestingAccept(float a1,
int a2)
Function call that handles exceptions by always nesting checked exceptions and propagating the others as is.
|
static LFltIntConsumer |
recursive(LFunction<LFltIntConsumer,LFltIntConsumer> selfLambda) |
default LFltConsumer |
rShrink(LFltToIntFunction right) |
default LFltConsumer |
rShrinkc(int a2) |
static LFltConsumer |
rShrinked(LFltToIntFunction right,
LFltIntConsumer func) |
static LFltConsumer |
rShrinkedc(int a2,
LFltIntConsumer func) |
static LFltIntConsumer |
safe()
Safe instance.
|
static LFltIntConsumer |
safe(LFltIntConsumer other)
Safe wrapping.
|
static LSupplier<LFltIntConsumer> |
safeSupplier()
Safe instance supplier.
|
static LSupplier<LFltIntConsumer> |
safeSupplier(LSupplier<LFltIntConsumer> supplier)
Safe supplier.
|
default void |
shovingAccept(float a1,
int a2)
Function call that handles exceptions by always propagating them as is, even when they are undeclared checked ones.
|
static <C2> float |
targetedForEach(float a1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
LFltIntConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static <C2,I2> float |
targetedIterate(float a1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
LFltIntConsumer consumer)
For each element (or tuple) from arguments, calls the consumer.
|
static void |
times(int max_a2,
float a1,
LFltIntConsumer func)
From-To.
|
static void |
tryAccept(float a1,
int a2,
LFltIntConsumer func) |
static void |
tryAccept(float a1,
int a2,
LFltIntConsumer func,
ExWF<RuntimeException> exF) |
static void |
tryAccept(float a1,
int a2,
LFltIntConsumer func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static void |
tryAcceptThen(float a1,
int a2,
LFltIntConsumer func,
LConsumer<Throwable> handler) |
default LFltIntConsumer |
trying(ExWF<RuntimeException> exF) |
default LFltIntConsumer |
trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LFltIntConsumer |
tryingThen(LConsumer<Throwable> handler) |
default LTuple.Void |
tupleAccept(LFltIntPair args) |
static LFltIntConsumer |
uncurry(LFltFunction<LIntConsumer> func) |
isConsumerformatTo, isAction, isFunction, isOperator, isPredicate, isSupplierisThrowingstatic final String DESCRIPTION
default void accept(float a1,
int a2)
void acceptX(float a1,
int a2)
throws Throwable
Implement this, but call accept(float a1,int a2)
Throwabledefault LTuple.Void tupleAccept(LFltIntPair args)
default void handlingAccept(float a1,
int a2,
HandlingInstructions<Throwable,RuntimeException> handling)
Function call that handles exceptions according to the instructions.
default LFltIntConsumer handling(HandlingInstructions<Throwable,RuntimeException> handling)
default void accept(float a1,
int a2,
@Nonnull
ExWMF<RuntimeException> exF,
@Nonnull
String newMessage,
@Nullable
Object... messageParams)
default LFltIntConsumer trying(@Nonnull ExWMF<RuntimeException> exF, @Nonnull String newMessage, @Nullable Object... messageParams)
default void accept(float a1,
int a2,
@Nonnull
ExWF<RuntimeException> exF)
default LFltIntConsumer trying(@Nonnull ExWF<RuntimeException> exF)
default LFltIntConsumer tryingThen(@Nonnull LConsumer<Throwable> handler)
default void nestingAccept(float a1,
int a2)
Function call that handles exceptions by always nesting checked exceptions and propagating the others as is.
default void shovingAccept(float a1,
int a2)
Function call that handles exceptions by always propagating them as is, even when they are undeclared checked ones.
static void handlingAccept(float a1,
int a2,
LFltIntConsumer func,
HandlingInstructions<Throwable,RuntimeException> handling)
static void tryAccept(float a1,
int a2,
LFltIntConsumer func)
static void tryAccept(float a1,
int a2,
LFltIntConsumer func,
@Nonnull
ExWMF<RuntimeException> exF,
@Nonnull
String newMessage,
@Nullable
Object... messageParams)
static void tryAccept(float a1,
int a2,
LFltIntConsumer func,
@Nonnull
ExWF<RuntimeException> exF)
static void tryAcceptThen(float a1,
int a2,
LFltIntConsumer func,
@Nonnull
LConsumer<Throwable> handler)
default void failSafeAccept(float a1,
int a2,
@Nonnull
LFltIntConsumer failSafe)
static void failSafeAccept(float a1,
int a2,
LFltIntConsumer func,
@Nonnull
LFltIntConsumer failSafe)
static LFltIntConsumer failSafe(LFltIntConsumer func, @Nonnull LFltIntConsumer failSafe)
@Nonnull default String functionalInterfaceDescription()
Returns description of the functional interface.
functionalInterfaceDescription in interface MetaFunctionalInterfacestatic void fromTo(int min_a2,
int max_a2,
float a1,
LFltIntConsumer func)
From-To. Intended to be used with non-capturing lambda.
static void fromTill(int min_a2,
int max_a2,
float a1,
LFltIntConsumer func)
From-To. Intended to be used with non-capturing lambda.
static void times(int max_a2,
float a1,
LFltIntConsumer func)
From-To. Intended to be used with non-capturing lambda.
default LIntConsumer lShrink(LIntToFltFunction left)
default LIntConsumer lShrinkc(float a1)
static LIntConsumer lShrinked(LIntToFltFunction left, LFltIntConsumer func)
static LIntConsumer lShrinkedc(float a1, LFltIntConsumer func)
default LFltConsumer rShrink(LFltToIntFunction right)
default LFltConsumer rShrinkc(int a2)
static LFltConsumer rShrinked(LFltToIntFunction right, LFltIntConsumer func)
static LFltConsumer rShrinkedc(int a2, LFltIntConsumer func)
static LFltIntConsumer uncurry(LFltFunction<LIntConsumer> func)
default LAction capture(float a1, int a2)
Captures arguments but delays the evaluation.
@Nonnull static LFltIntConsumer accept1st(@Nonnull LFltConsumer func)
Captures single parameter function into this interface where only 1st parameter will be used.
@Nonnull static LFltIntConsumer accept2nd(@Nonnull LIntConsumer func)
Captures single parameter function into this interface where only 2nd parameter will be used.
@Nonnull static LFltIntConsumer fltIntCons(@Nonnull LFltIntConsumer lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static LFltIntConsumer recursive(@Nonnull LFunction<LFltIntConsumer,LFltIntConsumer> selfLambda)
@Nonnull static LFltIntConsumer fltIntConsThrowing(@Nonnull ExF<Throwable> exF)
@Nonnull static LFltIntConsumer fltIntConsThrowing(String message, @Nonnull ExMF<Throwable> exF)
@Nonnull static LFltIntConsumer.LIntFltCons intFltCons(@Nonnull LFltIntConsumer.LIntFltCons lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
static void call(float a1,
int a2,
@Nonnull
LFltIntConsumer lambda)
@Nonnull static LFltIntConsumer safe()
Safe instance.
@Nonnull static LSupplier<LFltIntConsumer> safeSupplier()
Safe instance supplier. Returns supplier of safe() instance.
@Nonnull static LFltIntConsumer safe(@Nullable LFltIntConsumer other)
Safe wrapping. Either argument function is returned (if it is not null) or safe() instance.
@Nonnull static LSupplier<LFltIntConsumer> safeSupplier(@Nullable LSupplier<LFltIntConsumer> supplier)
Safe supplier. Either argument supplier is returned (if it is not null) or supplier of safe() instance.
@Nonnull default LFltIntConsumer compose(@Nonnull LFltUnaryOperator before1, @Nonnull LIntUnaryOperator before2)
Allows to manipulate the domain of the function.
static LFltIntConsumer composed(@Nonnull LFltUnaryOperator before1, @Nonnull LIntUnaryOperator before2, LFltIntConsumer after)
@Nonnull default <V1,V2> LBiConsumer<V1,V2> fltIntConsCompose(@Nonnull LToFltFunction<? super V1> before1, @Nonnull LToIntFunction<? super V2> before2)
Allows to manipulate the domain of the function.
static <V1,V2> LBiConsumer<V1,V2> composed(@Nonnull LToFltFunction<? super V1> before1, @Nonnull LToIntFunction<? super V2> before2, LFltIntConsumer after)
@Nonnull default LFltIntConsumer andThen(@Nonnull LFltIntConsumer after)
Combines two LFltIntConsumer together in a order.
static void doNothing(float a1,
int a2)
Does nothing (LFltIntConsumer)
static void doNothing(int a2,
float a1)
Does nothing (LFltIntConsumer.LIntFltCons)
static <C1,C2> int forEach(IndexedRead<C1,aType.aFloat> ia1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, LFltIntConsumer 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> int iterate(SequentialRead<C1,I1,aType.aFloat> sa1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, LFltIntConsumer 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> int iterate(IndexedRead<C1,aType.aFloat> ia1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, LFltIntConsumer 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> int iterate(SequentialRead<C1,I1,aType.aFloat> sa1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, LFltIntConsumer 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> int indexedForEach(IndexedRead<C1,aType.aFloat> ia1, C1 source1, LFltIntConsumer 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> int indexedIterate(SequentialRead<C1,I1,aType.aFloat> sa1, C1 source1, LFltIntConsumer 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 <C2> float targetedForEach(float a1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
LFltIntConsumer 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 <C2,I2> float targetedIterate(float a1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
LFltIntConsumer 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.
Copyright © 2019. All rights reserved.