接口 Predicate<T>
- 所有超级接口:
java.util.function.Predicate<T>
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
- 作者:
- lingyi
-
方法概要
从接口继承的方法 java.util.function.Predicate
and, negate, or
-
方法详细资料
-
apply
-
equals
Indicates whether another object is equal to this predicate.Most implementations will have no reason to override the behavior of
Object.equals(java.lang.Object). However, an implementation may also choose to returntruewheneverobjectis aPredicatethat it considers interchangeable with this one. "Interchangeable" typically means thatthis.apply(t) == that.apply(t)for alltof typeT). Note that afalseresult from this method does not imply that the predicates are known not to be interchangeable. -
test
- 指定者:
test在接口中java.util.function.Predicate<T>
-