public final class ItemValueMap extends HashItemSet
Constructor and Description |
---|
ItemValueMap() |
Modifier and Type | Method and Description |
---|---|
void |
add(Item key,
Value value,
InputInfo ii)
Indexes the specified key and stores the associated value.
|
Value |
get(Item key,
InputInfo ii)
Returns the value for the specified key.
|
protected void |
rehash(int s)
Rehashes all entries.
|
Iterable<Value> |
values()
Returns a value iterator.
|
public void add(Item key, Value value, InputInfo ii) throws QueryException
key
- keyvalue
- valueii
- input infoQueryException
- query exceptionpublic Value get(Item key, InputInfo ii) throws QueryException
key
- key to be foundii
- input infonull
if nothing was foundQueryException
- query exceptionprotected void rehash(int s)
ASet
rehash
in class HashItemSet
s
- new hash sizeCopyright © 2005–2015 BaseX Team. All rights reserved.