org.springframework.binding.collection
Interface MapAdaptable

All Known Implementing Classes:
MapAccessor

public interface MapAdaptable

An object whose contents are capable of being exposed as an unmodifiable map.

Author:
Keith Donald

Method Summary
 java.util.Map asMap()
          Returns this object's contents as a Map.
 

Method Detail

asMap

java.util.Map asMap()
Returns this object's contents as a Map. 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


Copyright � 2004-2007. All Rights Reserved.