Interface Predicate<T>

  • All Superinterfaces:
    java.io.Serializable

    public interface Predicate<T>
    extends java.io.Serializable
    Java API: Defines a criteria and determines whether the parameter meets this criteria. Serializable is needed to be able to grab line number for Java 8 lambdas. Supports throwing Exception in the apply, which the java.util.function.Predicate counterpart does not.
    • Method Detail

      • test

        boolean test​(T param)