public class OrderedProperties extends Properties
Properties that maintains the order.
The implementation is not thread-safe.defaults| Constructor and Description |
|---|
OrderedProperties() |
OrderedProperties(Properties defaults) |
| Modifier and Type | Method and Description |
|---|---|
Enumeration<Object> |
keys() |
Enumeration |
propertyNames() |
Object |
put(Object key,
Object value) |
void |
putAll(Properties t) |
Object |
putIfAbsent(Object key,
Object value) |
Object |
remove(Object key) |
Set<String> |
stringPropertyNames() |
getProperty, getProperty, list, list, load, load, loadFromXML, save, setProperty, store, store, storeToXML, storeToXMLclear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, putAll, rehash, remove, replace, replace, replaceAll, size, toString, valuespublic OrderedProperties()
public OrderedProperties(Properties defaults)
public Enumeration propertyNames()
propertyNames in class Propertiespublic Set<String> stringPropertyNames()
stringPropertyNames in class Propertiespublic void putAll(Properties t)
public Object putIfAbsent(Object key, Object value)
putIfAbsent in interface Map<Object,Object>putIfAbsent in class Hashtable<Object,Object>Copyright © 2024 The Apache Software Foundation. All rights reserved.