Constructor and Description |
---|
TokenBoolMap()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
get(byte[] key)
Returns the value for the specified key.
|
void |
put(byte[] key,
boolean value)
Indexes the specified key and stores the associated value.
|
protected void |
rehash(int sz)
Rehashes all entries.
|
public void put(byte[] key, boolean value)
key
- keyvalue
- valuepublic boolean get(byte[] key)
key
- key to be looked up-1
if the key was not foundCopyright © 2005–2015 BaseX Team. All rights reserved.