Package org.apache.derby.iapi.util
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 java.util.Properties
defaults
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
addAllNames
(Properties src, HashSet<Object> dest) Add all property names in the Properties objectsrc
to the HashSetdest
.getProperty
(String key) getProperty
(String key, String defaultValue) Methods inherited from class java.util.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:
getProperty
in classProperties
-
getProperty
- Overrides:
getProperty
in classProperties
-
propertyNames
- Overrides:
propertyNames
in classProperties
-
addAllNames
Add all property names in the Properties objectsrc
to the HashSetdest
.
-