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