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 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) |
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 obj)
equals
in class ComparisonTerm
public int hashCode()
hashCode
in class ComparisonTerm
Copyright © 2018 Oracle. All rights reserved.