|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.nist.nlpir.irf.index.IrfHashtableEntry
IrfHashtable entry. It associates a key to a value, keeping also
track of the hashcode so that it doesn't have to be recomputed each
time. The projection between the hashcode space and the main array
of the IrfHashtable may result result in conflicts: different keys
may have the same hashcode, and hashcode may project in the same place
in the main array. That's why there is a next
pointer in
the entry, it allows to have collision lists, ans the hashcode is
there because in one given collision list, several hashcodes may be
present.
Field Summary | |
(package private) int |
hash
|
(package private) java.lang.Object |
key
|
(package private) IrfHashtableEntry |
next
|
(package private) java.lang.Object |
value
|
Constructor Summary | |
(package private) |
IrfHashtableEntry()
|
Method Summary | |
protected java.lang.Object |
clone()
|
Methods inherited from class java.lang.Object |
|
Field Detail |
int hash
java.lang.Object key
java.lang.Object value
IrfHashtableEntry next
Constructor Detail |
IrfHashtableEntry()
Method Detail |
protected java.lang.Object clone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |