@FunctionalInterface public interface LObjIntObjPredicate<T1,T2> extends MetaPredicate, MetaInterface.NonThrowing, Codomain<aType.aBool>, Domain3<aType.a<T1>,aType.aInt,aType.a<T2>>
Non-throwing functional interface (lambda) LObjIntObjPredicate for Java 8.
Type: predicate
Domain (lvl: 3): T1 a1,int a2,T2 a3
Co-domain: boolean
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LObjIntObjPredicate.LInt1BiObj2Pred<T1,T2>
Permutation of LObjIntObjPredicate for method references.
|
static interface |
LObjIntObjPredicate.LInt1Obj2Obj0Pred<T2,T1>
Permutation of LObjIntObjPredicate for method references.
|
static interface |
LObjIntObjPredicate.LObj0Obj2Int1Pred<T1,T2>
Permutation of LObjIntObjPredicate for method references.
|
static interface |
LObjIntObjPredicate.LObj2Int1Obj0Pred<T2,T1>
Permutation of LObjIntObjPredicate for method references.
|
static interface |
LObjIntObjPredicate.LObj2Obj0Int1Pred<T2,T1>
Permutation of LObjIntObjPredicate for method references.
|
static class |
LObjIntObjPredicate.LObjIntObjPredicateSingle<T1,T2> |
MetaInterface.NonThrowing, MetaInterface.Throwing<X>| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIPTION |
| Modifier and Type | Method and Description |
|---|---|
static <T1,T2> boolean |
alwaysFalse(int a2,
T1 a1,
T2 a3)
Returns FALSE.
|
static <T1,T2> boolean |
alwaysFalse(T1 a1,
int a2,
T2 a3)
Returns FALSE.
|
static <T1,T2> boolean |
alwaysFalse(T1 a1,
T2 a3,
int a2)
Returns FALSE.
|
static <T1,T2> boolean |
alwaysTrue(int a2,
T1 a1,
T2 a3)
Returns TRUE.
|
static <T1,T2> boolean |
alwaysTrue(T1 a1,
int a2,
T2 a3)
Returns TRUE.
|
static <T1,T2> boolean |
alwaysTrue(T1 a1,
T2 a3,
int a2)
Returns TRUE.
|
default LObjIntObjPredicate<T1,T2> |
and(LObjIntObjPredicate<? super T1,? super T2> other)
Returns a predicate that represents the logical AND of evaluation of this predicate and the argument one.
|
default <V> LObjIntObjFunction<T1,T2,V> |
boolToObjIntObjFunc(LBoolFunction<? extends V> after)
Combines two functions together in a order.
|
default LObjIntObjPredicate<T1,T2> |
boolToObjIntObjPred(LLogicalOperator after)
Combines two functions together in a order.
|
default LTieFunction<T1,T2> |
boolToTieFunc(LBoolToIntFunction after)
Combines two functions together in a order.
|
static <T1,T2> boolean |
call(T1 a1,
int a2,
T2 a3,
LObjIntObjPredicate<T1,T2> lambda) |
default LBoolSupplier |
capture(T1 a1,
int a2,
T2 a3)
Captures arguments but delays the evaluation.
|
default <V2,V3> LObjIntObjPredicate<V2,V3> |
cast()
Cast that replace generics.
|
static <V2,V3,T1,T2> |
cast(LObjIntObjPredicate<T1,T2> function)
Cast that replace generics.
|
default <V1,V3> LObjIntObjPredicate<V1,V3> |
compose(LFunction<? super V1,? extends T1> before1,
LIntUnaryOperator before2,
LFunction<? super V3,? extends T2> before3)
Allows to manipulate the domain of the function.
|
static <V1,V3,T1,T2> |
composed(LFunction<? super V1,? extends T1> before1,
LIntUnaryOperator before2,
LFunction<? super V3,? extends T2> before3,
LObjIntObjPredicate<T1,T2> after) |
static <V1,V2,V3,T1,T2> |
composed(LFunction<? super V1,? extends T1> before1,
LToIntFunction<? super V2> before2,
LFunction<? super V3,? extends T2> before3,
LObjIntObjPredicate<T1,T2> after) |
static <T1,T2> LObjIntObjPredicate<T1,T2> |
constant(boolean r)
Creates function that always returns the same value.
|
default boolean |
doApplyAsBoolean(T1 a1,
int a2,
T2 a3)
For convenience, where “test()” makes things more confusing than “applyAsBoolean()”.
|
default boolean |
doIf(T1 a1,
int a2,
T2 a3,
LAction action) |
static <T1,T2> boolean |
doIf(T1 a1,
int a2,
T2 a3,
LObjIntObjPredicate<T1,T2> predicate,
LAction action) |
static <T1,T2> boolean |
doIf(T1 a1,
int a2,
T2 a3,
LObjIntObjPredicate<T1,T2> predicate,
LTieConsumer<? super T1,? super T2> consumer) |
default boolean |
doIf(T1 a1,
int a2,
T2 a3,
LTieConsumer<? super T1,? super T2> consumer) |
static <T1,T2> LObjIntObjPredicate<T1,T2> |
failSafe(LObjIntObjPredicate<T1,T2> func,
LObjIntObjPredicate<T1,T2> failSafe) |
default boolean |
failSafeTest(T1 a1,
int a2,
T2 a3,
LObjIntObjPredicate<T1,T2> failSafe) |
static <T1,T2> boolean |
failSafeTest(T1 a1,
int a2,
T2 a3,
LObjIntObjPredicate<T1,T2> func,
LObjIntObjPredicate<T1,T2> failSafe) |
default <C1,C2,C3> void |
filterForEach(IndexedRead<C1,aType.a<T1>> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.a<T2>> ia3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,C2,C3,I3> |
filterIterate(IndexedRead<C1,aType.a<T1>> ia1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.a<T2>> sa3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,C2,I2,C3> |
filterIterate(IndexedRead<C1,aType.a<T1>> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.a<T2>> ia3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,C2,I2,C3,I3> |
filterIterate(IndexedRead<C1,aType.a<T1>> ia1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.a<T2>> sa3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,I1,C2,C3> |
filterIterate(SequentialRead<C1,I1,aType.a<T1>> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
IndexedRead<C3,aType.a<T2>> ia3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,I1,C2,C3,I3> |
filterIterate(SequentialRead<C1,I1,aType.a<T1>> sa1,
C1 source1,
IndexedRead<C2,aType.aInt> ia2,
C2 source2,
SequentialRead<C3,I3,aType.a<T2>> sa3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,I1,C2,I2,C3> |
filterIterate(SequentialRead<C1,I1,aType.a<T1>> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
IndexedRead<C3,aType.a<T2>> ia3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
default <C1,I1,C2,I2,C3,I3> |
filterIterate(SequentialRead<C1,I1,aType.a<T1>> sa1,
C1 source1,
SequentialRead<C2,I2,aType.aInt> sa2,
C2 source2,
SequentialRead<C3,I3,aType.a<T2>> sa3,
C3 source3,
LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes.
|
static <T1,T2> void |
fromTill(int min_a2,
int max_a2,
T1 a1,
T2 a3,
LObjIntObjPredicate<T1,T2> func)
From-To.
|
static <T1,T2> void |
fromTo(int min_a2,
int max_a2,
T1 a1,
T2 a3,
LObjIntObjPredicate<T1,T2> func)
From-To.
|
default String |
functionalInterfaceDescription()
Returns description of the functional interface.
|
default LObjIntObjPredicate<T1,T2> |
handling(HandlingInstructions<Throwable,RuntimeException> handling) |
default boolean |
handlingTest(T1 a1,
int a2,
T2 a3,
HandlingInstructions<Throwable,RuntimeException> handling)
Function call that handles exceptions according to the instructions.
|
static <T1,T2> boolean |
handlingTest(T1 a1,
int a2,
T2 a3,
LObjIntObjPredicate<T1,T2> func,
HandlingInstructions<Throwable,RuntimeException> handling) |
static <T1,T2> LObjIntObjPredicate.LInt1BiObj2Pred<T1,T2> |
int1BiObj2Pred(LObjIntObjPredicate.LInt1BiObj2Pred<T1,T2> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T2,T1> LObjIntObjPredicate.LInt1Obj2Obj0Pred<T2,T1> |
int1Obj2Obj0Pred(LObjIntObjPredicate.LInt1Obj2Obj0Pred<T2,T1> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T1,T2> LObjIntObjPredicate<T1,T2> |
isEqual(T1 v1,
int v2,
T2 v3)
Creates predicate that evaluates if an object is equal with the argument one.
|
default LObjIntObjPredicate<T1,T2> |
negate()
Returns a predicate that represents the logical negation of this predicate.
|
default boolean |
nestingTest(T1 a1,
int a2,
T2 a3)
Function call that handles exceptions by always nesting checked exceptions and propagating the others as is.
|
default boolean |
nonNullTest(T1 a1,
int a2,
T2 a3)
Just to mirror the method: Ensures the result is not null
|
static <T1,T2> LObjIntObjPredicate.LObj0Obj2Int1Pred<T1,T2> |
obj0Obj2Int1Pred(LObjIntObjPredicate.LObj0Obj2Int1Pred<T1,T2> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T2,T1> LObjIntObjPredicate.LObj2Int1Obj0Pred<T2,T1> |
obj2Int1Obj0Pred(LObjIntObjPredicate.LObj2Int1Obj0Pred<T2,T1> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T2,T1> LObjIntObjPredicate.LObj2Obj0Int1Pred<T2,T1> |
obj2Obj0Int1Pred(LObjIntObjPredicate.LObj2Obj0Int1Pred<T2,T1> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
|
static <T1,T2> LObjIntObjPredicate<T1,T2> |
objIntObjPred(LObjIntObjPredicate<T1,T2> 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> LTriPredicate<V1,V2,V3> |
objIntObjPredCompose(LFunction<? super V1,? extends T1> before1,
LToIntFunction<? super V2> before2,
LFunction<? super V3,? extends T2> before3)
Allows to manipulate the domain of the function.
|
static <T1,T2> LObjIntObjPredicate<T1,T2> |
objIntObjPredThrowing(ExF<Throwable> exF) |
static <T1,T2> LObjIntObjPredicate<T1,T2> |
objIntObjPredThrowing(String message,
ExMF<Throwable> exF) |
default LObjIntObjPredicate<T1,T2> |
or(LObjIntObjPredicate<? super T1,? super T2> other)
Returns a predicate that represents the logical OR of evaluation of this predicate and the argument one.
|
static <T1,T2> LObjIntObjPredicate<T1,T2> |
recursive(LFunction<LObjIntObjPredicate<T1,T2>,LObjIntObjPredicate<T1,T2>> selfLambda) |
static <T1,T2> LObjIntObjPredicate<T1,T2> |
safe()
Safe instance.
|
static <T1,T2> LObjIntObjPredicate<T1,T2> |
safe(LObjIntObjPredicate<T1,T2> other)
Safe wrapping.
|
static <T1,T2> LSupplier<LObjIntObjPredicate<T1,T2>> |
safeSupplier()
Safe instance supplier.
|
static <T1,T2> LSupplier<LObjIntObjPredicate<T1,T2>> |
safeSupplier(LSupplier<LObjIntObjPredicate<T1,T2>> supplier)
Safe supplier.
|
default boolean |
shovingTest(T1 a1,
int a2,
T2 a3)
Function call that handles exceptions by always propagating them as is, even when they are undeclared checked ones.
|
default boolean |
test(T1 a1,
int a2,
T2 a3) |
default boolean |
test(T1 a1,
int a2,
T2 a3,
ExWF<RuntimeException> exF) |
default boolean |
test(T1 a1,
int a2,
T2 a3,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T1,T2> LObjIntObjPredicate<T1,T2> |
test1st(LPredicate<T1> func)
Captures single parameter function into this interface where only 1st parameter will be used.
|
static <T1,T2> LObjIntObjPredicate<T1,T2> |
test2nd(LIntPredicate func)
Captures single parameter function into this interface where only 2nd parameter will be used.
|
static <T1,T2> LObjIntObjPredicate<T1,T2> |
test3rd(LPredicate<T2> func)
Captures single parameter function into this interface where only 3rd parameter will be used.
|
default boolean |
testThen(T1 a1,
int a2,
T2 a3,
LPredicate<Throwable> handler) |
boolean |
testX(T1 a1,
int a2,
T2 a3)
Implement this, but call test(T1 a1,int a2,T2 a3)
|
static <T1,T2> void |
throwIf(T1 a1,
int a2,
T2 a3,
LObjIntObjPredicate<T1,T2> pred,
ExMF<RuntimeException> factory,
String newMessage,
Object... messageParams) |
static <T1,T2> void |
throwIfNot(T1 a1,
int a2,
T2 a3,
LObjIntObjPredicate<T1,T2> pred,
ExMF<RuntimeException> factory,
String newMessage,
Object... messageParams) |
static <T1,T2> void |
times(int max_a2,
T1 a1,
T2 a3,
LObjIntObjPredicate<T1,T2> func)
From-To.
|
default LObjIntObjPredicate<T1,T2> |
trying(ExWF<RuntimeException> exF) |
default LObjIntObjPredicate<T1,T2> |
trying(ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
default LObjIntObjPredicate<T1,T2> |
tryingThen(LPredicate<Throwable> handler) |
static <T1,T2> boolean |
tryTest(T1 a1,
int a2,
T2 a3,
LObjIntObjPredicate<T1,T2> func) |
static <T1,T2> boolean |
tryTest(T1 a1,
int a2,
T2 a3,
LObjIntObjPredicate<T1,T2> func,
ExWF<RuntimeException> exF) |
static <T1,T2> boolean |
tryTest(T1 a1,
int a2,
T2 a3,
LObjIntObjPredicate<T1,T2> func,
ExWMF<RuntimeException> exF,
String newMessage,
Object... messageParams) |
static <T1,T2> boolean |
tryTestThen(T1 a1,
int a2,
T2 a3,
LObjIntObjPredicate<T1,T2> func,
LPredicate<Throwable> handler) |
default boolean |
tupleTest(LObjIntObjTriple<T1,T2> args) |
static <T1,T2> LObjIntObjPredicate<T1,T2> |
uncurry(LFunction<T1,LIntFunction<LPredicate<T2>>> func) |
default LObjIntObjPredicate |
untyped()
Cast that removes generics.
|
default LObjIntObjPredicate<T1,T2> |
xor(LObjIntObjPredicate<? super T1,? super T2> other)
Returns a predicate that represents the logical XOR of evaluation of this predicate and the argument one.
|
isPredicateisFunctionformatTo, isAction, isConsumer, isOperator, isSupplierisThrowingisThrowingstatic final String DESCRIPTION
boolean testX(T1 a1, int a2, T2 a3) throws Throwable
Implement this, but call test(T1 a1,int a2,T2 a3)
Throwabledefault boolean tupleTest(LObjIntObjTriple<T1,T2> args)
default boolean handlingTest(T1 a1, int a2, T2 a3, HandlingInstructions<Throwable,RuntimeException> handling)
Function call that handles exceptions according to the instructions.
default LObjIntObjPredicate<T1,T2> handling(HandlingInstructions<Throwable,RuntimeException> handling)
default boolean test(T1 a1, int a2, T2 a3, @Nonnull ExWMF<RuntimeException> exF, @Nonnull String newMessage, @Nullable Object... messageParams)
default LObjIntObjPredicate<T1,T2> trying(@Nonnull ExWMF<RuntimeException> exF, @Nonnull String newMessage, @Nullable Object... messageParams)
default boolean test(T1 a1, int a2, T2 a3, @Nonnull ExWF<RuntimeException> exF)
default LObjIntObjPredicate<T1,T2> trying(@Nonnull ExWF<RuntimeException> exF)
default boolean testThen(T1 a1, int a2, T2 a3, @Nonnull LPredicate<Throwable> handler)
default LObjIntObjPredicate<T1,T2> tryingThen(@Nonnull LPredicate<Throwable> handler)
default boolean nestingTest(T1 a1, int a2, T2 a3)
Function call that handles exceptions by always nesting checked exceptions and propagating the others as is.
default boolean shovingTest(T1 a1, int a2, T2 a3)
Function call that handles exceptions by always propagating them as is, even when they are undeclared checked ones.
static <T1,T2> boolean handlingTest(T1 a1,
int a2,
T2 a3,
LObjIntObjPredicate<T1,T2> func,
HandlingInstructions<Throwable,RuntimeException> handling)
static <T1,T2> boolean tryTest(T1 a1,
int a2,
T2 a3,
LObjIntObjPredicate<T1,T2> func)
static <T1,T2> boolean tryTest(T1 a1,
int a2,
T2 a3,
LObjIntObjPredicate<T1,T2> func,
@Nonnull
ExWMF<RuntimeException> exF,
@Nonnull
String newMessage,
@Nullable
Object... messageParams)
static <T1,T2> boolean tryTest(T1 a1,
int a2,
T2 a3,
LObjIntObjPredicate<T1,T2> func,
@Nonnull
ExWF<RuntimeException> exF)
static <T1,T2> boolean tryTestThen(T1 a1,
int a2,
T2 a3,
LObjIntObjPredicate<T1,T2> func,
@Nonnull
LPredicate<Throwable> handler)
default boolean failSafeTest(T1 a1, int a2, T2 a3, @Nonnull LObjIntObjPredicate<T1,T2> failSafe)
static <T1,T2> boolean failSafeTest(T1 a1,
int a2,
T2 a3,
LObjIntObjPredicate<T1,T2> func,
@Nonnull
LObjIntObjPredicate<T1,T2> failSafe)
static <T1,T2> LObjIntObjPredicate<T1,T2> failSafe(LObjIntObjPredicate<T1,T2> func, @Nonnull LObjIntObjPredicate<T1,T2> failSafe)
static <T1,T2> boolean doIf(T1 a1,
int a2,
T2 a3,
@Nonnull
LObjIntObjPredicate<T1,T2> predicate,
@Nonnull
LAction action)
static <T1,T2> boolean doIf(T1 a1,
int a2,
T2 a3,
@Nonnull
LObjIntObjPredicate<T1,T2> predicate,
@Nonnull
LTieConsumer<? super T1,? super T2> consumer)
default boolean doIf(T1 a1, int a2, T2 a3, @Nonnull LTieConsumer<? super T1,? super T2> consumer)
static <T1,T2> void throwIf(T1 a1,
int a2,
T2 a3,
LObjIntObjPredicate<T1,T2> pred,
ExMF<RuntimeException> factory,
@Nonnull
String newMessage,
@Nullable
Object... messageParams)
static <T1,T2> void throwIfNot(T1 a1,
int a2,
T2 a3,
LObjIntObjPredicate<T1,T2> pred,
ExMF<RuntimeException> factory,
@Nonnull
String newMessage,
@Nullable
Object... messageParams)
default boolean nonNullTest(T1 a1, int a2, T2 a3)
Just to mirror the method: Ensures the result is not null
default boolean doApplyAsBoolean(T1 a1, int a2, T2 a3)
For convenience, where “test()” makes things more confusing than “applyAsBoolean()”.
@Nonnull default String functionalInterfaceDescription()
Returns description of the functional interface.
functionalInterfaceDescription in interface MetaFunctionalInterfacestatic <T1,T2> void fromTo(int min_a2,
int max_a2,
T1 a1,
T2 a3,
LObjIntObjPredicate<T1,T2> func)
From-To. Intended to be used with non-capturing lambda.
static <T1,T2> void fromTill(int min_a2,
int max_a2,
T1 a1,
T2 a3,
LObjIntObjPredicate<T1,T2> func)
From-To. Intended to be used with non-capturing lambda.
static <T1,T2> void times(int max_a2,
T1 a1,
T2 a3,
LObjIntObjPredicate<T1,T2> func)
From-To. Intended to be used with non-capturing lambda.
static <T1,T2> LObjIntObjPredicate<T1,T2> uncurry(LFunction<T1,LIntFunction<LPredicate<T2>>> func)
default LObjIntObjPredicate untyped()
Cast that removes generics.
default <V2,V3> LObjIntObjPredicate<V2,V3> cast()
Cast that replace generics.
static <V2,V3,T1,T2> LObjIntObjPredicate<V2,V3> cast(LObjIntObjPredicate<T1,T2> function)
Cast that replace generics.
default LBoolSupplier capture(T1 a1, int a2, T2 a3)
Captures arguments but delays the evaluation.
static <T1,T2> LObjIntObjPredicate<T1,T2> constant(boolean r)
Creates function that always returns the same value.
@Nonnull static <T1,T2> LObjIntObjPredicate<T1,T2> test1st(@Nonnull LPredicate<T1> func)
Captures single parameter function into this interface where only 1st parameter will be used.
@Nonnull static <T1,T2> LObjIntObjPredicate<T1,T2> test2nd(@Nonnull LIntPredicate func)
Captures single parameter function into this interface where only 2nd parameter will be used.
@Nonnull static <T1,T2> LObjIntObjPredicate<T1,T2> test3rd(@Nonnull LPredicate<T2> func)
Captures single parameter function into this interface where only 3rd parameter will be used.
@Nonnull static <T1,T2> LObjIntObjPredicate<T1,T2> objIntObjPred(@Nonnull LObjIntObjPredicate<T1,T2> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T1,T2> LObjIntObjPredicate<T1,T2> recursive(@Nonnull LFunction<LObjIntObjPredicate<T1,T2>,LObjIntObjPredicate<T1,T2>> selfLambda)
@Nonnull static <T1,T2> LObjIntObjPredicate<T1,T2> objIntObjPredThrowing(@Nonnull ExF<Throwable> exF)
@Nonnull static <T1,T2> LObjIntObjPredicate<T1,T2> objIntObjPredThrowing(String message, @Nonnull ExMF<Throwable> exF)
@Nonnull static <T1,T2> LObjIntObjPredicate.LObj0Obj2Int1Pred<T1,T2> obj0Obj2Int1Pred(@Nonnull LObjIntObjPredicate.LObj0Obj2Int1Pred<T1,T2> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T1,T2> LObjIntObjPredicate.LInt1BiObj2Pred<T1,T2> int1BiObj2Pred(@Nonnull LObjIntObjPredicate.LInt1BiObj2Pred<T1,T2> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T2,T1> LObjIntObjPredicate.LInt1Obj2Obj0Pred<T2,T1> int1Obj2Obj0Pred(@Nonnull LObjIntObjPredicate.LInt1Obj2Obj0Pred<T2,T1> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T2,T1> LObjIntObjPredicate.LObj2Obj0Int1Pred<T2,T1> obj2Obj0Int1Pred(@Nonnull LObjIntObjPredicate.LObj2Obj0Int1Pred<T2,T1> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
@Nonnull static <T2,T1> LObjIntObjPredicate.LObj2Int1Obj0Pred<T2,T1> obj2Int1Obj0Pred(@Nonnull LObjIntObjPredicate.LObj2Int1Obj0Pred<T2,T1> lambda)
Convenient method in case lambda expression is ambiguous for the compiler (that might happen for overloaded methods accepting different interfaces).
static <T1,T2> boolean call(T1 a1,
int a2,
T2 a3,
@Nonnull
LObjIntObjPredicate<T1,T2> lambda)
@Nonnull static <T1,T2> LObjIntObjPredicate<T1,T2> safe()
Safe instance. That always returns the same value (as alwaysFalse).
@Nonnull static <T1,T2> LSupplier<LObjIntObjPredicate<T1,T2>> safeSupplier()
Safe instance supplier. Returns supplier of safe() instance.
@Nonnull static <T1,T2> LObjIntObjPredicate<T1,T2> safe(@Nullable LObjIntObjPredicate<T1,T2> other)
Safe wrapping. Either argument function is returned (if it is not null) or safe() instance.
@Nonnull static <T1,T2> LSupplier<LObjIntObjPredicate<T1,T2>> safeSupplier(@Nullable LSupplier<LObjIntObjPredicate<T1,T2>> supplier)
Safe supplier. Either argument supplier is returned (if it is not null) or supplier of safe() instance.
@Nonnull default LObjIntObjPredicate<T1,T2> negate()
Returns a predicate that represents the logical negation of this predicate.
java.util.function.Predicate#negate}@Nonnull default LObjIntObjPredicate<T1,T2> and(@Nonnull LObjIntObjPredicate<? super T1,? super T2> other)
Returns a predicate that represents the logical AND of evaluation of this predicate and the argument one.
java.util.function.Predicate#and()}@Nonnull default LObjIntObjPredicate<T1,T2> or(@Nonnull LObjIntObjPredicate<? super T1,? super T2> other)
Returns a predicate that represents the logical OR of evaluation of this predicate and the argument one.
java.util.function.Predicate#or}@Nonnull default LObjIntObjPredicate<T1,T2> xor(@Nonnull LObjIntObjPredicate<? super T1,? super T2> other)
Returns a predicate that represents the logical XOR of evaluation of this predicate and the argument one.
java.util.function.Predicate#or}@Nonnull static <T1,T2> LObjIntObjPredicate<T1,T2> isEqual(T1 v1, int v2, T2 v3)
Creates predicate that evaluates if an object is equal with the argument one.
java.util.function.Predicate#isEqual()@Nonnull default <V1,V3> LObjIntObjPredicate<V1,V3> compose(@Nonnull LFunction<? super V1,? extends T1> before1, @Nonnull LIntUnaryOperator before2, @Nonnull LFunction<? super V3,? extends T2> before3)
Allows to manipulate the domain of the function.
static <V1,V3,T1,T2> LObjIntObjPredicate<V1,V3> composed(@Nonnull LFunction<? super V1,? extends T1> before1, @Nonnull LIntUnaryOperator before2, @Nonnull LFunction<? super V3,? extends T2> before3, LObjIntObjPredicate<T1,T2> after)
@Nonnull default <V1,V2,V3> LTriPredicate<V1,V2,V3> objIntObjPredCompose(@Nonnull LFunction<? super V1,? extends T1> before1, @Nonnull LToIntFunction<? super V2> before2, @Nonnull LFunction<? super V3,? extends T2> before3)
Allows to manipulate the domain of the function.
static <V1,V2,V3,T1,T2> LTriPredicate<V1,V2,V3> composed(@Nonnull LFunction<? super V1,? extends T1> before1, @Nonnull LToIntFunction<? super V2> before2, @Nonnull LFunction<? super V3,? extends T2> before3, LObjIntObjPredicate<T1,T2> after)
@Nonnull default <V> LObjIntObjFunction<T1,T2,V> boolToObjIntObjFunc(@Nonnull LBoolFunction<? extends V> after)
Combines two functions together in a order.
@Nonnull default LTieFunction<T1,T2> boolToTieFunc(@Nonnull LBoolToIntFunction after)
Combines two functions together in a order.
@Nonnull default LObjIntObjPredicate<T1,T2> boolToObjIntObjPred(@Nonnull LLogicalOperator after)
Combines two functions together in a order.
static <T1,T2> boolean alwaysTrue(T1 a1,
int a2,
T2 a3)
Returns TRUE.
static <T1,T2> boolean alwaysFalse(T1 a1,
int a2,
T2 a3)
Returns FALSE.
static <T1,T2> boolean alwaysTrue(T1 a1,
T2 a3,
int a2)
Returns TRUE.
static <T1,T2> boolean alwaysFalse(T1 a1,
T2 a3,
int a2)
Returns FALSE.
static <T1,T2> boolean alwaysTrue(int a2,
T1 a1,
T2 a3)
Returns TRUE.
static <T1,T2> boolean alwaysFalse(int a2,
T1 a1,
T2 a3)
Returns FALSE.
default <C1,C2,C3> void filterForEach(IndexedRead<C1,aType.a<T1>> ia1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, IndexedRead<C3,aType.a<T2>> ia3, C3 source3, LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes. Thread safety, fail-fast, fail-safety of this method is not expected.
default <C1,I1,C2,C3> void filterIterate(SequentialRead<C1,I1,aType.a<T1>> sa1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, IndexedRead<C3,aType.a<T2>> ia3, C3 source3, LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes. Thread safety, fail-fast, fail-safety of this method is not expected.
default <C1,C2,I2,C3> void filterIterate(IndexedRead<C1,aType.a<T1>> ia1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, IndexedRead<C3,aType.a<T2>> ia3, C3 source3, LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes. Thread safety, fail-fast, fail-safety of this method is not expected.
default <C1,I1,C2,I2,C3> void filterIterate(SequentialRead<C1,I1,aType.a<T1>> sa1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, IndexedRead<C3,aType.a<T2>> ia3, C3 source3, LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes. Thread safety, fail-fast, fail-safety of this method is not expected.
default <C1,C2,C3,I3> void filterIterate(IndexedRead<C1,aType.a<T1>> ia1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, SequentialRead<C3,I3,aType.a<T2>> sa3, C3 source3, LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes. Thread safety, fail-fast, fail-safety of this method is not expected.
default <C1,I1,C2,C3,I3> void filterIterate(SequentialRead<C1,I1,aType.a<T1>> sa1, C1 source1, IndexedRead<C2,aType.aInt> ia2, C2 source2, SequentialRead<C3,I3,aType.a<T2>> sa3, C3 source3, LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes. Thread safety, fail-fast, fail-safety of this method is not expected.
default <C1,C2,I2,C3,I3> void filterIterate(IndexedRead<C1,aType.a<T1>> ia1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, SequentialRead<C3,I3,aType.a<T2>> sa3, C3 source3, LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes. Thread safety, fail-fast, fail-safety of this method is not expected.
default <C1,I1,C2,I2,C3,I3> void filterIterate(SequentialRead<C1,I1,aType.a<T1>> sa1, C1 source1, SequentialRead<C2,I2,aType.aInt> sa2, C2 source2, SequentialRead<C3,I3,aType.a<T2>> sa3, C3 source3, LTieConsumer<? super T1,? super T2> consumer)
For each element (or tuple) from arguments, calls the consumer if predicate test passes. Thread safety, fail-fast, fail-safety of this method depends highly on the arguments.
Copyright © 2019. All rights reserved.