|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTestTheDatabase.IntegerKey
IntegerKey models an integer key
| Constructor Summary | |
IntegerKey(int j)
IntegerKey constructs the key object |
|
| Method Summary | |
boolean |
equals(DB.Key another_key)
equals compares itself to another key, m, for equality |
boolean |
lessthan(DB.Key another_key)
|
int |
valOf()
valOf returns the integer value of the key |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IntegerKey(int j)
j - - the integer held as the key| Method Detail |
public int valOf()
public boolean equals(DB.Key another_key)
DB.Key
equals in interface DB.Keyanother_key - - the other key
public boolean lessthan(DB.Key another_key)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||