Package com.hazelcast.jet.function
Interface TriPredicate<T,U,V>
- 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.
@FunctionalInterface public interface TriPredicate<T,U,V> extends Serializable
Represents a predicate which accepts three arguments. This
is the three-arity specialization of
Predicate
.- Since:
- 3.0
-
Method Summary
Modifier and Type Method Description default 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 boolean
test(T t, U u, V v)
Evaluates this predicate with the given arguments.boolean
testEx(T t, U u, V v)
Exception-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:
true
if predicate evaluated to true,false
otherwise
-
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)
.
-