|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.basex.util.Set
org.basex.util.Map<E>
E - generic value typepublic class Map<E>
This is a simple hash map, extending the even simpler
hash set.
| Field Summary |
|---|
| Fields inherited from class org.basex.util.Set |
|---|
size |
| Constructor Summary | |
|---|---|
Map()
|
|
| Method Summary | |
|---|---|
int |
add(byte[] key,
E val)
Indexes the specified keys and values. |
E |
get(byte[] key)
Returns the value for the specified key. |
E |
value(int p)
Returns the specified value. |
| Methods inherited from class org.basex.util.Set |
|---|
add, delete, id, key, keys, size |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Map()
| Method Detail |
|---|
public int add(byte[] key,
E val)
key - keyval - value
public E get(byte[] key)
key - key to be found
public E value(int p)
p - value index
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||