|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jtestcase.util.MultiKeyHashtable
public class MultiKeyHashtable
This hashtable stores values using string array.
Constructor Summary | |
---|---|
MultiKeyHashtable()
|
Method Summary | |
---|---|
java.lang.Object |
get(java.lang.String[] keys)
This method retrieves the value at String array keys. |
java.util.Set |
keySet()
Returns an enumeration with the keys. |
void |
put(java.lang.String[] keys,
java.lang.Object value)
This method stores the value at String array keys. |
void |
putAll(MultiKeyHashtable pHash)
Copies all of the mappings from the specified MultiKeyHashtable to this MultiKeyHashtable. |
void |
reset()
Reset contents. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiKeyHashtable()
Method Detail |
---|
public java.lang.Object get(java.lang.String[] keys)
keys
- - String array, must not be null
java.lang.NullPointerException
- thrown if keys are nullpublic void put(java.lang.String[] keys, java.lang.Object value)
keys
- - must not be nullvalue
-
java.lang.NullPointerException
- thrown if key1 or key2 are nullpublic void putAll(MultiKeyHashtable pHash)
pHash
- The MultiKeyHashtable to be copied.public void reset()
public java.util.Set keySet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |