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@FunctionalInterface public interface TriPredicate<T,U,V> extends Serializable
Predicate
.Modifier and Type | Method and Description |
---|---|
default TriPredicate<T,U,V> |
and(TriPredicate<? super T,? super U,? super V> other)
Returns a composite predicate which evaluates the
equivalent of
this.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 of
this.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 of
test(T, U, V) . |
boolean testEx(T t, U u, V v) throws Exception
test(T, U, V)
.Exception
default boolean test(T t, U u, V v)
t
- the first argumentu
- the second argumentv
- the third argumenttrue
if predicate evaluated to true, false
otherwisedefault TriPredicate<T,U,V> and(@Nonnull TriPredicate<? super T,? super U,? super V> other)
this.test(t, u, v) && other.test(t, u, v)
.default TriPredicate<T,U,V> negate()
!this.test(t, u, v)
.default TriPredicate<T,U,V> or(@Nonnull TriPredicate<? super T,? super U,? super V> other)
this.test(t, u, v) || other.test(t, u, v)
.Copyright © 2023 Hazelcast, Inc.. All rights reserved.