接口 NonNullPredicate<T>

函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public interface NonNullPredicate<T>
Equivalent to Predicate, except with nonnull contract.
另请参阅:
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    test(T t)
     
  • 方法详细资料

    • test

      boolean test(@NotNull T t)