Class Expression.Arg.Pred<E>

All Implemented Interfaces:
com.google.common.base.Predicate<E>, 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 Details

    • description

      private String description
  • Constructor Details

    • Pred

      public Pred(String description)
  • Method Details

    • 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 String getDescription()
    • toString

      public String toString()
      Overrides:
      toString in class Object