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(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) |
match
protected IntegerComparisonTerm(int comparison, int number)
public int getNumber()
public int getComparison()
protected boolean match(int i)
public boolean equals(Object obj)
equals
in class ComparisonTerm
public int hashCode()
hashCode
in class ComparisonTerm
Copyright © 2018 JBoss by Red Hat. All rights reserved.