|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection
org.freehep.util.DoubleHashtable
public class 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 Collectionclear in class AbstractCollectionpublic void clear(Object key)
public Object clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic boolean contains(Object value)
contains in interface Collectioncontains in class AbstractCollectionpublic boolean containsKey(Object key)
public boolean containsKey(Object key,
Object subKey)
public Enumeration elements()
public Iterator iterator()
iterator in interface Iterableiterator in interface Collectioniterator in class AbstractCollectionpublic Hashtable get(Object key)
public Object get(Object key,
Object subKey)
public boolean isEmpty()
isEmpty in interface CollectionisEmpty in class AbstractCollectionpublic 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 Collectionsize in class AbstractCollectionpublic String toString()
toString in class AbstractCollection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||