Package ch.njol.util

Interface Checker<T>

All Superinterfaces:
Predicate<T>
All Known Subinterfaces:
NullableChecker<T>, SerializableChecker<T>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Deprecated(forRemoval=true) @FunctionalInterface public interface Checker<T> extends Predicate<T>
Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    check(T o)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    default boolean
    test(T t)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from interface java.util.function.Predicate

    and, negate, or
  • Method Details

    • check

      boolean check(T o)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • test

      default boolean test(T t)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      test in interface Predicate<T>