Class DoubleProperties
- All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>
A properties object that links two independent
properties together. The read property set is always
searched first, with the write property set being
second. But any put() calls are always made directly to
the write object.
Only the put(), propertyNames() and getProperty() methods are supported
by this class.
- See Also:
-
Field Summary
FieldsFields inherited from class Properties
defaults -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidaddAllNames(Properties src, HashSet<Object> dest) Add all property names in the Properties objectsrcto the HashSetdest.getProperty(String key) getProperty(String key, String defaultValue) Methods inherited from class Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
Field Details
-
read
-
write
-
-
Constructor Details
-
DoubleProperties
-
-
Method Details
-
put
-
getProperty
- Overrides:
getPropertyin classProperties
-
getProperty
- Overrides:
getPropertyin classProperties
-
propertyNames
- Overrides:
propertyNamesin classProperties
-
addAllNames
Add all property names in the Properties objectsrcto the HashSetdest.
-