Package net.i2p.data

Class EmptyProperties

All Implemented Interfaces:
Serializable, Cloneable, Map<Object,​Object>

public class EmptyProperties
extends OrderedProperties
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:
Serialized Form