Package com.hazelcast.jet.function
Interface TriPredicate<T,U,V>
- Type Parameters:
T- the type of the first argument to the predicateU- the type of the second argument to the predicateV- the type of the third argument to the predicate
- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a predicate which accepts three arguments. This
is the three-arity specialization of
Predicate.- Since:
- Jet 3.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault TriPredicate<T,U, V> and(TriPredicate<? super T, ? super U, ? super V> other) Returns a composite predicate which evaluates the equivalent ofthis.test(t, u, v) && other.test(t, u, v).default TriPredicate<T,U, V> negate()Returns a composite predicate which evaluates the equivalent of!this.test(t, u, v).default TriPredicate<T,U, V> or(TriPredicate<? super T, ? super U, ? super V> other) Returns a composite predicate which evaluates the equivalent ofthis.test(t, u, v) || other.test(t, u, v).default booleanEvaluates this predicate with the given arguments.booleanException-declaring version oftest(T, U, V).
-
Method Details
-
testEx
Exception-declaring version oftest(T, U, V).- Throws:
Exception
-
test
Evaluates this predicate with the given arguments.- Parameters:
t- the first argumentu- the second argumentv- the third argument- Returns:
trueif predicate evaluated to true,falseotherwise
-
and
Returns a composite predicate which evaluates the equivalent ofthis.test(t, u, v) && other.test(t, u, v). -
negate
Returns a composite predicate which evaluates the equivalent of!this.test(t, u, v). -
or
Returns a composite predicate which evaluates the equivalent ofthis.test(t, u, v) || other.test(t, u, v).
-