Package net.i2p.data
Class EmptyProperties
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
net.i2p.util.OrderedProperties
net.i2p.data.EmptyProperties
- All Implemented Interfaces:
Serializable,Cloneable,Map<Object,Object>
Immutable OrderedProperties, to reduce object churn
in LS2 where it's expected to be empty.
Returned from DataHelper.readProperties(in, null).
All methods that modify will throw UnsupportedOperationException,
except clear() and remove() which do nothing.
- Since:
- 0.9.38
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.Properties
defaults -
Method Summary
Modifier and TypeMethodDescriptiongetProperty(String key) voidload(InputStream inStream) voidvoidvoidsetProperty(String key, String value) Methods inherited from class net.i2p.util.OrderedProperties
entrySet, keySetMethods inherited from class java.util.Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, equals, forEach, get, getOrDefault, getProperty, hashCode, isEmpty, keys, list, list, merge, propertyNames, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
Field Details
-
INSTANCE
-
-
Method Details
-
getProperty
- Overrides:
getPropertyin classProperties
-
load
- Overrides:
loadin classProperties
-
load
- Overrides:
loadin classProperties
-
loadFromXML
- Overrides:
loadFromXMLin classProperties
-
put
-
putAll
-
setProperty
- Overrides:
setPropertyin classProperties
-