Package ch.njol.util

Interface NullableChecker<T>

All Superinterfaces:
Checker<T>, Predicate<T>

public interface NullableChecker<T> extends Checker<T>, Predicate<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final NullableChecker<Object>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    check(T o)
     
    default boolean
    test(T t)
     

    Methods inherited from interface java.util.function.Predicate

    and, negate, or
  • Field Details

  • Method Details

    • check

      boolean check(@Nullable T o)
      Specified by:
      check in interface Checker<T>
    • test

      default boolean test(@Nullable T t)
      Specified by:
      test in interface Checker<T>
      Specified by:
      test in interface Predicate<T>