接口 Predicate<T>
public interface Predicate<T>
Predicate functional interface from JDK 8.
-
方法概要
-
方法详细资料
-
test
Evaluates this predicate on the given argument.- 参数:
t- the input argument- 返回:
trueif the input argument matches the predicate, otherwisefalse
-