Class X.BinaryOp

java.lang.Object
com.zfabrik.util.expression.X
com.zfabrik.util.expression.X.BinaryOp
Direct Known Subclasses:
X.And, X.Eq, X.Ge, X.Gt, X.In, X.Le, X.Lt, X.Neq, X.Or, X.Xor
Enclosing class:
X

public abstract static class X.BinaryOp extends X
Abstract binary operators
  • Constructor Details

    • BinaryOp

      protected BinaryOp(X x, X y)
  • Method Details

    • getLeft

      public X getLeft()
      return first or "left" operand expression
    • getRight

      public X getRight()
      return second or "right" operand expression
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public abstract X clone(X x, X y)
      Create a clone of this X.BinaryOp with the given two args