|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gov.nist.nlpir.irf.index.braf.HashBlockEntry
HashBlock 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
HashBlock 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
Key hashcode. |
(package private) java.lang.Object |
key
Key the value is maped to. |
(package private) HashBlockEntry |
next
Links the next entry in the collision list. |
(package private) java.lang.Object |
value
Can only be a ProxyFeatureList or its Oid if it hasn't been materialized yet. |
Constructor Summary | |
(package private) |
HashBlockEntry()
|
Method Summary | |
protected java.lang.Object |
clone()
Overrides the Object method, used by HashBlock.clone(). |
Methods inherited from class java.lang.Object |
|
Field Detail |
int hash
java.lang.Object key
java.lang.Object value
HashBlockEntry next
Constructor Detail |
HashBlockEntry()
Method Detail |
protected java.lang.Object clone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |