| Modifier and Type | Field and Description |
|---|---|
| protected Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Overrides java. Implements java. |
| public Object | |
| public boolean | contains(Object
a value to search for value)Overrides java. |
| public boolean | containsKey(Object
possible key key)Overrides java. Implements java. |
| public boolean | containsValue(Object
value whose presence in this hashtable is to be tested value)Overrides java. Implements java. |
| public Enumeration | elements()
Overrides java. |
| public Set | entrySet()
Overrides java. Implements java. Set view of the mappings contained in this map.
|
| public boolean | equals(Object
object to be compared for equality with this hashtable o)Overrides java. Implements java. |
| public Object | get(Object
the key whose associated value is to be returned key)Overrides java. Implements java. null if this map contains no mapping for the key.
|
| public String | getProperty(String
the hashtable key. key, String a default value. defaultValue)Overrides java. |
| public String | getProperty(String
the property key. key)Overrides java. |
| public int | hashCode()
Overrides java. Implements java. |
| public boolean | isEmpty()
Overrides java. Implements java. |
| public Enumeration | |
| public Set | keySet()
Overrides java. Implements java. Set view of the keys contained in this map.
|
| public Object | put(Object
the hashtable key key, Object the value value)Overrides java. Implements java. key to the specified
value in this hashtable.
|
| public void | putAll(Map<?, ?>
mappings to be stored in this map t)Overrides java. Implements java. |
| public Object | remove(Object
the key that needs to be removed key)Overrides java. Implements java. |
| public Object | setProperty(String
the key to be placed into this property list. key, String the value corresponding to value)key.Overrides java. Hashtable method put.
|
| public int | size()
Overrides java. Implements java. |
| public String | toString()
Overrides java. Hashtable object
in the form of a set of entries, enclosed in braces and separated
by the ASCII characters " , " (comma and space).
|
| public Collection | values()
Overrides java. Implements java. Collection view of the values contained in this map.
|
| values | back to summary |
|---|---|
| protected Map<Object, Object> values Hides java. | |
| NonSynchronizedProperties | back to summary |
|---|---|
| public NonSynchronizedProperties(int size) | |
| clear | back to summary |
|---|---|
| public void clear() Overrides java. Implements java. Doc from java. Clears this hashtable so that it contains no keys.
| |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Doc from java. Creates a shallow copy of this hashtable. All the structure of the hashtable itself is copied, but the keys and values are not cloned. This is a relatively expensive operation. | |
| contains | back to summary |
|---|---|
| public boolean contains(Object value) Overrides java. Doc from java. Tests if some key maps into the specified value in this hashtable.
This operation is more expensive than the Note that this method is identical in functionality to
| |
| containsKey | back to summary |
|---|---|
| public boolean containsKey(Object key) Overrides java. Implements java. Doc from java. Tests if the specified object is a key in this hashtable. | |
| containsValue | back to summary |
|---|---|
| public boolean containsValue(Object value) Overrides java. Implements java. Doc from java. Returns true if this hashtable maps one or more keys to this value. Note that this method is identical in functionality to | |
| elements | back to summary |
|---|---|
| public Enumeration Overrides java. Doc from java. Returns an enumeration of the values in this hashtable. Use the Enumeration methods on the returned object to fetch the elements sequentially. If the hashtable is structurally modified while enumerating over the values then the results of enumerating are undefined.
| |
| entrySet | back to summary |
|---|---|
| public Set Overrides java. Implements java. Doc from java. Returns a | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Implements java. Doc from java. Compares the specified Object with this Map for equality, as per the definition in the Map interface. | |
| get | back to summary |
|---|---|
| public Object get(Object key) Overrides java. Implements java. Doc from java. Returns the value to which the specified key is mapped,
or More formally, if this map contains a mapping from a key
| |
| getProperty | back to summary |
|---|---|
| public String getProperty(String key, String defaultValue) Overrides java. Doc from java. Searches for the property with the specified key in this property list. If the key is not found in this property list, the default property list, and its defaults, recursively, are then checked. The method returns the default value argument if the property is not found. | |
| getProperty | back to summary |
|---|---|
| public String getProperty(String key) Overrides java. Doc from java. Searches for the property with the specified key in this property list.
If the key is not found in this property list, the default property list,
and its defaults, recursively, are then checked. The method returns
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements java. Doc from java. Returns the hash code value for this Map as per the definition in the Map interface.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Overrides java. Implements java. Doc from java. Tests if this hashtable maps no keys to values.
| |
| keys | back to summary |
|---|---|
| public Enumeration Overrides java. Doc from java. Returns an enumeration of the keys in this hashtable. Use the Enumeration methods on the returned object to fetch the keys sequentially. If the hashtable is structurally modified while enumerating over the keys then the results of enumerating are undefined.
| |
| keySet | back to summary |
|---|---|
| public Set Overrides java. Implements java. Doc from java. Returns a
| |
| put | back to summary |
|---|---|
| public Object put(Object key, Object value) Overrides java. Implements java. Doc from java. Maps the specified
The value can be retrieved by calling the | |
| putAll | back to summary |
|---|---|
| public void putAll(Map<?, ?> t) Overrides java. Implements java. Doc from java. Copies all of the mappings from the specified map to this hashtable. These mappings will replace any mappings that this hashtable had for any of the keys currently in the specified map. | |
| remove | back to summary |
|---|---|
| public Object remove(Object key) Overrides java. Implements java. Doc from java. Removes the key (and its corresponding value) from this hashtable. This method does nothing if the key is not in the hashtable. | |
| setProperty | back to summary |
|---|---|
| public Object setProperty(String key, String value) Overrides java. Doc from java. Calls the | |
| size | back to summary |
|---|---|
| public int size() Overrides java. Implements java. Doc from java. Returns the number of keys in this hashtable.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of this | |
| values | back to summary |
|---|---|
| public Collection Overrides java. Implements java. Doc from java. Returns a
| |