Constructor and Description |
---|
TokenObjMap() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Resets the data structure.
|
int |
delete(byte[] key)
Deletes the specified key.
|
E |
get(byte[] key)
Returns the value for the specified key.
|
void |
put(byte[] key,
E val)
Indexes the specified key and value.
|
protected void |
rehash(int sz)
Rehashes all entries.
|
String |
toString() |
Iterable<E> |
values()
Returns a value iterator.
|
public void put(byte[] key, E val)
key
- keyval
- valuepublic E get(byte[] key)
key
- key to be looked upnull
if nothing was foundpublic int delete(byte[] key)
TokenSet
ASet.size
is called after
deletions, the original number of entries will be returned.public void clear()
ASet
protected void rehash(int sz)
ASet
Copyright © 2005–2015 BaseX Team. All rights reserved.