Class SortedProperties
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<Object,Object>
-
- java.util.Properties
-
- org.apache.commons.collections4.properties.SortedProperties
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Object,Object>
public class SortedProperties extends Properties
A drop-in replacement forProperties
for sorting keys.Overrides
Properties.keys()
to sort keys. Allows other methods on the superclass to work with sorted keys.- Since:
- 4.2
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.Properties
defaults
-
-
Constructor Summary
Constructors Constructor Description SortedProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Enumeration<Object>
keys()
-
Methods inherited from class java.util.Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
-
-
-
Method Detail
-
keys
public Enumeration<Object> keys()
- Overrides:
keys
in classProperties
-
-