Map
implementation that maintains the order of the entries. In this implementation order is maintained by original insertion. This implementation improves on the JDK1.4 LinkedHashMap by adding the {@link org.apache.commons.collections.MapIterator MapIterator}functionality, additional convenience methods and allowing bidirectional iteration. It also implements OrderedMap
. In addition, non-interface methods are provided to access the map by index.
The orderedMapIterator()
method provides direct access to a bidirectional iterator. The iterators from the other views can also be cast to OrderedIterator
if required.
All the available iterators can be reset back to the start by casting to ResettableIterator
and calling reset()
.
The implementation is also designed to be subclassed, with lots of useful methods exposed. @since Commons Collections 3.0 @version $Revision: 1.9 $ $Date: 2004/02/18 01:13:19 $ @author Stephen Colebourne
Map
implementation that maintains the order of the entries. In this implementation order is maintained by original insertion. This implementation improves on the JDK1.4 LinkedHashMap by adding the {@link org.apache.commons.collections15.MapIterator MapIterator}functionality, additional convenience methods and allowing bidirectional iteration. It also implements OrderedMap
. In addition, non-interface methods are provided to access the map by index. The orderedMapIterator()
method provides direct access to a bidirectional iterator. The iterators from the other views can also be cast to OrderedIterator
if required. All the available iterators can be reset back to the start by casting to ResettableIterator
and calling reset()
. The implementation is also designed to be subclassed, with lots of useful methods exposed.
@author Matt Hall, John Watkinson, Stephen Colebourne
@version $Revision: 1.1 $ $Date: 2005/10/11 17:05:32 $
@since Commons Collections 3.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|