Package org.opencms.gwt.shared.property
Class CmsLazyPropertyMap
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,
CmsClientProperty>
A lazy initialized map of properties. Will return a property object for any key.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the property with the given name.Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
CmsLazyPropertyMap
Constructor.- Parameters:
original
- properties that will be added to this map
-
-
Method Details
-
get
Returns the property with the given name.- Specified by:
get
in interfaceMap<String,
CmsClientProperty> - Overrides:
get
in classHashMap<String,
CmsClientProperty> - Parameters:
key
- the property name- Returns:
- the property
-