Interface MapAdaptable<K,V>
- All Known Subinterfaces:
AttributeMap<V>,MutableAttributeMap<V>,ParameterMap,SharedAttributeMap<V>
- All Known Implementing Classes:
LocalAttributeMap,LocalParameterMap,LocalSharedAttributeMap,MapAccessor,MockParameterMap
public interface MapAdaptable<K,V>
An object whose contents are capable of being exposed as a map.
- Author:
- Keith Donald
-
Method Summary
-
Method Details
-
asMap
Returns this object's contents as aMap. The returned map may or may not be modifiable depending on this implementation.Warning: this operation may be called frequently; if so care should be taken so that the map contents (if calculated) be cached as appropriate.
- Returns:
- the object's contents as a map
-