com.zfabrik.util.expression
Class X.BinaryOp

java.lang.Object
  extended by com.zfabrik.util.expression.X
      extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from class com.zfabrik.util.expression.X
X.And, X.BinaryOp, X.Eq, X.Ge, X.Gt, X.In, X.Le, X.Lt, X.Neq, X.Not, X.Or, X.UnaryOp, X.Val, X.Var, X.Xor
 
Constructor Summary
X.BinaryOp(X x, X y)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 X getLeft()
          return first or "left" operand expression
 X getRight()
          return second or "right" operand expression
 int hashCode()
           
 
Methods inherited from class com.zfabrik.util.expression.X
and, and, eq, eq, eval, eval, eval, ge, gt, in, le, lt, neq, neq, not, not, or, or, val, var, xor, xor
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X.BinaryOp

public X.BinaryOp(X x,
                  X y)
Method Detail

getLeft

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


getRight

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


equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object