java.io.Serializable
MessageNumberTerm
, SizeTerm
public abstract class IntegerComparisonTerm extends ComparisonTerm
Modifier and Type | Field | Description |
---|---|---|
protected int |
number |
The number.
|
comparison, EQ, GE, GT, LE, LT, NE
Modifier | Constructor | Description |
---|---|---|
protected |
IntegerComparisonTerm(int comparison,
int number) |
Modifier and Type | Method | 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) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
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
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved