public class LinkedProperties extends Properties
LinkedHashMap for Properties.defaults| Constructor and Description |
|---|
LinkedProperties() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the
map. |
Object |
clone()
Not Supported.
|
boolean |
contains(Object value)
Tests whether there is any
key associated with this value or not. |
boolean |
containsKey(Object key)
Tests whether the specified key is in the map or not.
|
boolean |
containsValue(Object value)
Tests whether there is any
key associated with this value or not. |
Enumeration |
elements()
Returns all
values as Enumeration. |
Set |
entrySet()
Returns a
Set view of the mappings contained in this map. |
boolean |
equals(Object o)
Not Supported.
|
Object |
get(Object key)
Returns the
value for the given key. |
String |
getProperty(String key)
Searches for the property with the specified key in this property list.
|
boolean |
isEmpty()
Tests whether there is any mapping on the map or not.
|
Enumeration |
keys()
Returns all
keys as Enumeration. |
Set |
keySet()
Returns a
Set view of the keys contained in this map. |
Enumeration |
propertyNames()
not supported.
|
Object |
put(Object key,
Object value)
Associates a given
value with a given key. |
void |
putAll(Map t)
Copies all of the
mappings from the specified map to this map. |
Object |
remove(Object key)
Removes specified
key. |
int |
size()
Returns the amount of mappings in this map.
|
Collection |
values()
not supported.
|
getProperty, list, list, load, load, loadFromXML, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNamescompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, hashCode, merge, putIfAbsent, rehash, remove, replace, replace, replaceAll, toStringpublic Object put(Object key, Object value)
value with a given key. Removes the previous associated
value, if there is any.put in interface Map<Object,Object>put in class Hashtable<Object,Object>key - The key for the given valuevalue - The value for the given keyvalue associated with key, or null if there was no
mapping for key. (A null return can also indicate that the map previously
associated null with key.)HashMap.put(java.lang.Object, java.lang.Object)public void clear()
map. (Removes every mapping for this map)public Object clone()
clone in class Hashtable<Object,Object>UnsupportedOperationException - not supportedpublic boolean containsValue(Object value)
key associated with this value or not.containsValue in interface Map<Object,Object>containsValue in class Hashtable<Object,Object>value - searched valuekey with this valueHashMap.containsValue(java.lang.Object)public boolean contains(Object value)
key associated with this value or not.contains in class Hashtable<Object,Object>value - searched valuekey with this valueHashMap.containsValue(java.lang.Object)public boolean containsKey(Object key)
containsKey in interface Map<Object,Object>containsKey in class Hashtable<Object,Object>key - searched keykeyHashMap.containsKey(java.lang.Object)public Enumeration elements()
values as Enumeration. Uses an Iterator over all elements.public Set entrySet()
Set view of the mappings contained in this map.public boolean equals(Object o)
public boolean isEmpty()
public Enumeration keys()
keys as Enumeration. Uses an Iterator over all elements.public Set keySet()
Set view of the keys contained in this map.public Enumeration propertyNames()
propertyNames in class PropertiesUnsupportedOperationException - not supportedpublic void putAll(Map t)
mappings from the specified map to this map. These
mappings will replace any mappings, that this map had for any of the
keys currently in the specified mappublic int size()
public Collection values()
public String getProperty(String key)
null if the property is not found.getProperty in class Propertieskey - the property keyCopyright © 2012–2026 cismet GmbH. All rights reserved.