|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection org.freehep.util.DoubleHashtable
Stores a hashtable of hashtables, which can be indexed by a key and a subkey. Keys and Values can be null.
Constructor Summary | |
DoubleHashtable()
creates a hashtable of hashtables |
Method Summary | |
void |
clear()
removes all entries and sub-tables |
void |
clear(Object key)
removes all entries from a subtable |
Object |
clone()
|
boolean |
contains(Object value)
|
boolean |
containsKey(Object key)
|
boolean |
containsKey(Object key,
Object subKey)
|
Enumeration |
elements()
|
Hashtable |
get(Object key)
|
Object |
get(Object key,
Object subKey)
|
boolean |
isEmpty()
|
Iterator |
iterator()
|
Enumeration |
keys()
|
Enumeration |
keys(Object key)
|
Object |
put(Object key,
Object subKey,
Object value)
puts a value in sub-table specified by key and subkey. |
Object |
remove(Object key,
Object subKey)
removes value from sub-table specified by key and subkey. |
int |
size()
|
String |
toString()
|
Methods inherited from class java.util.AbstractCollection |
add, addAll, containsAll, remove, removeAll, retainAll, toArray, toArray |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Collection |
equals, hashCode |
Constructor Detail |
public DoubleHashtable()
Method Detail |
public void clear()
clear
in interface Collection
public void clear(Object key)
public Object clone() throws CloneNotSupportedException
CloneNotSupportedException
public boolean contains(Object value)
contains
in interface Collection
public boolean containsKey(Object key)
public boolean containsKey(Object key, Object subKey)
public Enumeration elements()
public Iterator iterator()
iterator
in interface Collection
public Hashtable get(Object key)
public Object get(Object key, Object subKey)
public boolean isEmpty()
isEmpty
in interface Collection
public Enumeration keys()
public Enumeration keys(Object key)
public Object put(Object key, Object subKey, Object value)
public Object remove(Object key, Object subKey)
public int size()
size
in interface Collection
public String toString()
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |