Class Expression.Arg.Pred<E>

  • All Implemented Interfaces:
    com.google.common.base.Predicate<E>, java.util.function.Predicate<E>
    Enclosing class:
    Expression.Arg<E>

    public abstract static class Expression.Arg.Pred<E>
    extends Expression.Arg<E>
    An expression that evaluates to true or false by applying a predicate to the supplied entity.
    • Field Detail

      • description

        private java.lang.String description
    • Constructor Detail

      • Pred

        public Pred​(java.lang.String description)
    • Method Detail

      • apply

        public abstract boolean apply​(E entity)
        Description copied from class: Expression.Apply
        Apply this expression to an entity to get true or false.
        Specified by:
        apply in interface com.google.common.base.Predicate<E>
        Specified by:
        apply in class Expression.Apply<E>
      • getDescription

        public java.lang.String getDescription()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object