Interface BooleanPredicate

  • All Superinterfaces:
    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
    public interface BooleanPredicate
    extends Serializable
    BooleanPredicate is a primitive Predicate which may be used to reduce the overhead of autoboxing Boolean objects in places where primitive booleans could be used. This file was automatically generated from template file primitivePredicate.stg.
    Since:
    3.0.
    • Method Detail

      • accept

        boolean accept​(boolean value)