Class LessThanOrEqualNode
- java.lang.Object
-
- org.checkerframework.dataflow.cfg.node.Node
-
- org.checkerframework.dataflow.cfg.node.BinaryOperationNode
-
- org.checkerframework.dataflow.cfg.node.LessThanOrEqualNode
-
- All Implemented Interfaces:
org.plumelib.util.UniqueId
public class LessThanOrEqualNode extends BinaryOperationNode
A node for the less than or equal comparison:expression <= expression
-
-
Constructor Summary
Constructors Constructor Description LessThanOrEqualNode(com.sun.source.tree.BinaryTree tree, Node left, Node right)Constructs aLessThanOrEqualNode.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,P>
Raccept(NodeVisitor<R,P> visitor, P p)Accept method of the visitor pattern.booleanequals(@Nullable java.lang.Object obj)inthashCode()java.lang.StringtoString()-
Methods inherited from class org.checkerframework.dataflow.cfg.node.BinaryOperationNode
getLeftOperand, getOperands, getRightOperand, getTree
-
Methods inherited from class org.checkerframework.dataflow.cfg.node.Node
getBlock, getInSource, getTransitiveOperands, getType, getUid, isLValue, nodeCollectionToString, setBlock, setInSource, setLValue, toStringDebug
-
-
-
-
Constructor Detail
-
LessThanOrEqualNode
public LessThanOrEqualNode(com.sun.source.tree.BinaryTree tree, Node left, Node right)Constructs aLessThanOrEqualNode.- Parameters:
tree- the binary treeleft- the left operandright- the right operand
-
-
Method Detail
-
accept
public <R,P> R accept(NodeVisitor<R,P> visitor, P p)
Description copied from class:NodeAccept method of the visitor pattern.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(@Nullable java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-