- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<Object,Object>
-
- java.util.Properties
-
- com.aoapps.collections.SortedProperties
-
- All Implemented Interfaces:
Serializable,Cloneable,Map<Object,Object>
@Deprecated public class SortedProperties extends Properties
Deprecated.Please useSortedPropertiesfrom Apache Commons Collections.A Properties implementation that returns and writes its keys in alphabetical (Locale.ROOT) order.- Author:
- AO Industries, Inc.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.Properties
defaults
-
-
Constructor Summary
Constructors Constructor Description SortedProperties()Deprecated.SortedProperties(Properties defaults)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Set<Map.Entry<Object,Object>>entrySet()Deprecated.Comparator<Object>getKeyComparator()Deprecated.Gets the comparator used to sort the keys.Enumeration<Object>keys()Deprecated.-
Methods inherited from class java.util.Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, 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
-
-
-
-
Constructor Detail
-
SortedProperties
public SortedProperties()
Deprecated.
-
SortedProperties
public SortedProperties(Properties defaults)
Deprecated.
-
-
Method Detail
-
getKeyComparator
public Comparator<Object> getKeyComparator()
Deprecated.Gets the comparator used to sort the keys.Defaults to
Collator.getInstance(java.util.Locale)inLocale.ROOT.
-
keys
public Enumeration<Object> keys()
Deprecated.- Overrides:
keysin classProperties
-
-