Package jadex.collection
Class OrderedProperties
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Object,
Object>
Class extending java.util.Properties to preserve order
by redirecting calls to an internal linked hash map.
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.Properties
defaults
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Delegate.boolean
containsKey
(Object key) Delegate.boolean
containsValue
(Object value) Delegate.entrySet()
Delegate.Delegate.boolean
isEmpty()
Delegate.keySet()
Delegate.Delegate.void
Delegate.Delegate.int
size()
Delegate.values()
Delegate.Methods inherited from class java.util.Properties
clone, compute, computeIfAbsent, computeIfPresent, contains, elements, equals, forEach, getOrDefault, getProperty, getProperty, hashCode, keys, list, list, load, load, loadFromXML, merge, propertyNames, putIfAbsent, rehash, remove, replace, replace, replaceAll, save, setProperty, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString
-
Field Details
-
map
The internal map.
-
-
Constructor Details
-
OrderedProperties
public OrderedProperties()
-
-
Method Details
-
size
public int size()Delegate. -
isEmpty
public boolean isEmpty()Delegate. -
containsKey
Delegate.- Specified by:
containsKey
in interfaceMap<Object,
Object> - Overrides:
containsKey
in classProperties
-
containsValue
Delegate.- Specified by:
containsValue
in interfaceMap<Object,
Object> - Overrides:
containsValue
in classProperties
-
get
Delegate. -
put
Delegate. -
remove
Delegate. -
putAll
Delegate. -
clear
public void clear()Delegate. -
keySet
Delegate. -
values
Delegate. -
entrySet
Delegate.
-