Interface UnaryPredicate<T>

  • All Superinterfaces:
    java.io.Serializable
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    @Stable
    public interface UnaryPredicate<T>
    extends java.io.Serializable
    Predicate that is Serializable.
    • Method Detail

      • apply

        boolean apply​(T input)
        Retrieve value of the predicate for given input.
        Parameters:
        input - input element
        Returns:
        value of predicate