@FunctionalInterface public interface SerBiPred<T,U> extends BiPredicate<T,U>, Serializable
| 限定符和类型 | 方法和说明 |
|---|---|
default SerBiPred<T,U> |
and(SerBiPred<? super T,? super U> other)
Returns a composed predicate that represents a short-circuiting logical
AND of this predicate and another.
|
default SerBiPred<T,U> |
negate()
Returns a predicate that represents the logical negation of this
predicate.
|
default SerBiPred<T,U> |
or(SerBiPred<? super T,? super U> other)
Returns a composed predicate that represents a short-circuiting logical
OR of this predicate and another.
|
default boolean |
test(T t,
U u)
Evaluates this predicate on the given arguments.
|
boolean |
testing(T t,
U u)
Evaluates this predicate on the given arguments.
|
and, ordefault boolean test(T t, U u)
test 在接口中 BiPredicate<T,U>default SerBiPred<T,U> and(SerBiPred<? super T,? super U> other)
false, then the other
predicate is not evaluated.
Any exceptions thrown during evaluation of either predicate are relayed
to the caller; if evaluation of this predicate throws an exception, the
other predicate will not be evaluated.
other - a predicate that will be logically-ANDed with this
predicateother predicateNullPointerException - if other is nulldefault SerBiPred<T,U> negate()
negate 在接口中 BiPredicate<T,U>default SerBiPred<T,U> or(SerBiPred<? super T,? super U> other)
true, then the other
predicate is not evaluated.
Any exceptions thrown during evaluation of either predicate are relayed
to the caller; if evaluation of this predicate throws an exception, the
other predicate will not be evaluated.
other - a predicate that will be logically-ORed with this
predicateother predicateNullPointerException - if other is nullCopyright © 2023 dromara. All rights reserved.