public abstract class IntegerComparisonTerm extends ComparisonTerm
| Modifier and Type | Field and Description |
|---|---|
protected int |
number
The number.
|
private static long |
serialVersionUID |
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 obj)
Equality comparison.
|
int |
getComparison()
Return the type of comparison.
|
int |
getNumber()
Return the number to compare with.
|
int |
hashCode()
Compute a hashCode for this object.
|
protected boolean |
match(int i) |
matchprotected int number
private static final long serialVersionUID
protected IntegerComparisonTerm(int comparison,
int number)
public int getNumber()
public int getComparison()
protected boolean match(int i)
public boolean equals(java.lang.Object obj)
equals in class ComparisonTermpublic int hashCode()
hashCode in class ComparisonTerm