public final class PrintSortedProperties extends Properties
The sets, iterators and enumerations returned by this implementation are unmodifiable
snapshots of this Properties instance.
Changes in this Properties instance are not reflected in the returned sets, iterators and enumerations, which is ok for one-time atomic operations such as printing to a file.
Therefore it is not ok to keep a reference to one of the returned sets and expect to observe changes in this Properties instance.
defaults
Constructor and Description |
---|
PrintSortedProperties() |
Modifier and Type | Method and Description |
---|---|
Enumeration<Object> |
elements() |
Set<Map.Entry<Object,Object>> |
entrySet() |
Enumeration<Object> |
keys() |
Set<Object> |
keySet() |
String |
toString() |
Collection<Object> |
values() |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size
public Enumeration<Object> elements()
public Collection<Object> values()
Copyright © 2020. All Rights Reserved.