public abstract class IntegerComparisonTerm extends ComparisonTerm
Modifier and Type | Field and Description |
---|---|
protected int |
number
The number.
|
comparison, EQ, GE, GT, LE, LT, NE
Modifier | Constructor and Description |
---|---|
protected |
IntegerComparisonTerm(int comparison,
int number) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
int |
getComparison()
Returns the type of comparison.
|
int |
getNumber()
Returns the number to compare with.
|
int |
hashCode() |
protected boolean |
match(int i) |
match
protected IntegerComparisonTerm(int comparison, int number)
public int getNumber()
public int getComparison()
protected boolean match(int i)
public boolean equals(java.lang.Object other)
equals
in class ComparisonTerm
public int hashCode()
hashCode
in class ComparisonTerm