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,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
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, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods 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:
getin interfaceMap<String,CmsClientProperty> - Overrides:
getin classHashMap<String,CmsClientProperty> - Parameters:
key- the property name- Returns:
- the property
-