Package org.jboss.modules.management
Class ObjectProperties
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,String>
A Hashtable variant which keeps property names in order, for use by MBean
ObjectNames.- Author:
- David M. Lloyd
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA single property in a properties list. -
Constructor Summary
ConstructorsConstructorDescriptionObjectProperties(int initialCapacity) ObjectProperties(int initialCapacity, float loadFactor) ObjectProperties(Map<? extends String, ? extends String> t) ObjectProperties(ObjectProperties.Property... properties) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()clone()booleanbooleancontainsKey(Object key) booleancontainsValue(Object value) elements()entrySet()booleanisEmpty()keys()keySet()static ObjectPropertiesproperties(ObjectProperties.Property... properties) static ObjectProperties.Propertyvoidprotected voidrehash()intsize()toString()values()Methods inherited from class java.util.Hashtable
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
ObjectProperties
public ObjectProperties(int initialCapacity, float loadFactor) -
ObjectProperties
public ObjectProperties(int initialCapacity) -
ObjectProperties
public ObjectProperties() -
ObjectProperties
-
ObjectProperties
-
-
Method Details
-
property
-
properties
-
size
public int size() -
isEmpty
public boolean isEmpty() -
keys
-
elements
-
contains
-
containsValue
- Specified by:
containsValuein interfaceMap<String,String> - Overrides:
containsValuein classHashtable<String,String>
-
containsKey
- Specified by:
containsKeyin interfaceMap<String,String> - Overrides:
containsKeyin classHashtable<String,String>
-
get
-
rehash
protected void rehash() -
put
-
remove
-
putAll
-
clear
public void clear() -
clone
-
toString
-
keySet
-
entrySet
-
values
-