Package de.bitgrip.ficum.node
Class LogicalOperationNode
- java.lang.Object
-
- de.bitgrip.ficum.node.LogicalOperationNode
-
- All Implemented Interfaces:
Node,OperationNode
public class LogicalOperationNode extends java.lang.Object implements OperationNode
-
-
Constructor Summary
Constructors Constructor Description LogicalOperationNode(Operator operator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Visitor<?> visitor)booleanequals(java.lang.Object obj)NodegetLeft()OperatorgetOperator()NodegetRight()inthashCode()OperationNodesetLeft(Node left)OperationNodesetRight(Node right)java.lang.StringtoString()
-
-
-
Constructor Detail
-
LogicalOperationNode
public LogicalOperationNode(Operator operator)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
getLeft
public Node getLeft()
- Specified by:
getLeftin interfaceOperationNode
-
getOperator
public Operator getOperator()
- Specified by:
getOperatorin interfaceOperationNode
-
getRight
public Node getRight()
- Specified by:
getRightin interfaceOperationNode
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
setLeft
public OperationNode setLeft(Node left)
- Specified by:
setLeftin interfaceOperationNode
-
setRight
public OperationNode setRight(Node right)
- Specified by:
setRightin interfaceOperationNode
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-