Class Exp

    • Constructor Summary

      Constructors 
      Constructor Description
      Exp()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void acceptVisit​(ExpressionVisitor visitor)
      Accept a visit from a tree visitor.
      protected boolean eval​(java.lang.Object candidate, java.lang.Object orig, StoreContext ctx, java.lang.Object[] params)
      Evaluate the expression for the given context candidate and original candidate.
      protected boolean eval​(java.util.Collection candidates, StoreContext ctx, java.lang.Object[] params)
      Evaluate the expression for the given group.
      boolean evaluate​(java.lang.Object candidate, java.lang.Object orig, StoreContext ctx, java.lang.Object[] params)
      Evaluate the expression for the given candidate.
      boolean evaluate​(java.util.Collection candidates, StoreContext ctx, java.lang.Object[] params)
      Evaluate the expression for the given candidate group.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Exp

        public Exp()
    • Method Detail

      • evaluate

        public final boolean evaluate​(java.lang.Object candidate,
                                      java.lang.Object orig,
                                      StoreContext ctx,
                                      java.lang.Object[] params)
        Evaluate the expression for the given candidate.
      • evaluate

        public final boolean evaluate​(java.util.Collection candidates,
                                      StoreContext ctx,
                                      java.lang.Object[] params)
        Evaluate the expression for the given candidate group.
      • eval

        protected boolean eval​(java.lang.Object candidate,
                               java.lang.Object orig,
                               StoreContext ctx,
                               java.lang.Object[] params)
        Evaluate the expression for the given context candidate and original candidate.
      • eval

        protected boolean eval​(java.util.Collection candidates,
                               StoreContext ctx,
                               java.lang.Object[] params)
        Evaluate the expression for the given group.