public class SortedProperties extends Properties
SortedProperties extends Properties and adds sort functionality for the keys.defaults| Constructor and Description |
|---|
SortedProperties() |
| Modifier and Type | Method and Description |
|---|---|
Enumeration<Object> |
keys() |
Set<Object> |
keySet() |
protected Comparator<Object> |
newComparator()
Factory method for creating a new
Comparator for sort this SortedProperties. |
Enumeration<?> |
propertyNames() |
getProperty, getProperty, list, list, load, load, loadFromXML, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNamesclear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, valuesprotected Comparator<Object> newComparator()
Comparator for sort this SortedProperties.
This method is invoked in the methods keys and can be overridden so users can provide their
own version of a Comparator.Comparator.public Enumeration<?> propertyNames()
propertyNames in class PropertiesCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.