ObjectNames.
| Modifier and Type | Class and Description |
|---|---|
| public static class | ObjectProperties.Property
A single property in a properties list. |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Overrides java. Implements java. |
| public Object | |
| public boolean | contains(final Object
a value to search for value)Overrides java. |
| public boolean | containsKey(final Object
possible key key)Overrides java. Implements java. |
| public boolean | containsValue(final 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 String | get(final 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 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 static ObjectProperties | |
| public static ObjectProperties. | |
| public String | put(final String
the hashtable key key, final String the value value)Overrides java. Implements java. key to the specified
value in this hashtable.
|
| public void | putAll(final Map<? extends String, ? extends String>
mappings to be stored in this map t)Overrides java. Implements java. |
| protected void | rehash()
Overrides java. |
| public String | remove(final Object
the key that needs to be removed key)Overrides java. Implements java. |
| 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.
|
| realMap | back to summary |
|---|---|
| private final Map<String, String> realMap | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ObjectProperties | back to summary |
|---|---|
| public ObjectProperties(final int initialCapacity, final float loadFactor) | |
| ObjectProperties | back to summary |
|---|---|
| public ObjectProperties(final int initialCapacity) | |
| ObjectProperties | back to summary |
|---|---|
| public ObjectProperties() | |
| ObjectProperties | back to summary |
|---|---|
| public ObjectProperties(final Map<? extends String, ? extends String> t) | |
| ObjectProperties | back to summary |
|---|---|
| public ObjectProperties(ObjectProperties. | |
| 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(final 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(final 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(final 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 | |
| get | back to summary |
|---|---|
| public String get(final 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
| |
| 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
| |
| properties | back to summary |
|---|---|
| public static ObjectProperties properties(ObjectProperties. | |
| property | back to summary |
|---|---|
| public static ObjectProperties. | |
| put | back to summary |
|---|---|
| public String put(final String key, final String 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(final Map<? extends String, ? extends String> 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. | |
| rehash | back to summary |
|---|---|
| protected void rehash() Overrides java. Doc from java. Increases the capacity of and internally reorganizes this hashtable, in order to accommodate and access its entries more efficiently. This method is called automatically when the number of keys in the hashtable exceeds this hashtable's capacity and load factor. | |
| remove | back to summary |
|---|---|
| public String remove(final 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. | |
| 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
| |
| Access | Constructor and Description |
|---|---|
| public |
| key | back to summary |
|---|---|
| private final String key | |
| value | back to summary |
|---|---|
| private final String value | |
| Property | back to summary |
|---|---|
| public Property(final String key, final String value) | |
| getKey | back to summary |
|---|---|
| public String getKey() | |
| getValue | back to summary |
|---|---|
| public String getValue() | |