abstract class LongTerm extends SearchTerm
Modifier and Type | Field and Description |
---|---|
protected long |
number
The number.
|
private static long |
serialVersionUID |
Modifier | Constructor and Description |
---|---|
protected |
LongTerm(long number) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Equality comparison.
|
long |
getNumber()
Return the number to compare with.
|
int |
hashCode()
Compute a hashCode for this object.
|
protected boolean |
match(long i) |
match
protected long number
private static final long serialVersionUID
public long getNumber()
protected boolean match(long i)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object