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