|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.webdav.internal.kernel.utils.NestedHashtable
public class NestedHashtable
Field Summary | |
---|---|
protected NestedHashtable |
defaults
|
protected Hashtable |
localValues
|
Constructor Summary | |
---|---|
NestedHashtable()
|
|
NestedHashtable(NestedHashtable defaults)
Constructor for the class. |
Method Summary | |
---|---|
void |
collapse()
Copy all the default values into the receiver. |
Object |
get(Object key)
Return the value for the given key. |
Enumeration |
keys()
Return an enumeration over the context's keys. |
void |
put(Object key,
Object value)
Put the given key-value pair into the context. |
Object |
remove(Object key)
Remove the given key from the context |
String |
toString()
Return a string representation of the context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Hashtable localValues
protected NestedHashtable defaults
Constructor Detail |
---|
public NestedHashtable()
public NestedHashtable(NestedHashtable defaults)
defaults
- the default values for the receiverMethod Detail |
---|
public void collapse()
public Object get(Object key)
key
- the key to look up
public Enumeration keys()
public void put(Object key, Object value)
key
- the keyvalue
- its associated valuepublic Object remove(Object key)
key
- the key to removepublic String toString()
toString
in class Object
toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |