|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xml.utils.Trie
public class Trie
A digital search trie for 7-bit ASCII text The API is a subset of java.util.Hashtable The key must be a 7-bit ASCII string The value may be any Java Object
Field Summary | |
---|---|
static int |
ALPHA_SIZE
Size of the m_nextChar array. |
Constructor Summary | |
---|---|
Trie()
Construct the trie. |
Method Summary | |
---|---|
java.lang.Object |
get(java.lang.String key)
Get an object that matches the key. |
java.lang.Object |
put(java.lang.String key,
java.lang.Object value)
Put an object into the trie for lookup. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ALPHA_SIZE
Constructor Detail |
---|
public Trie()
Method Detail |
---|
public java.lang.Object put(java.lang.String key, java.lang.Object value)
key
- must be a 7-bit ASCII stringvalue
- any java object.
public java.lang.Object get(java.lang.String key)
key
- must be a 7-bit ASCII string
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |