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) |
matchprotected 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.Objectpublic int hashCode()
hashCode in class java.lang.Object