org.apache.commons.collections.map

Class AbstractLinkedMap.LinkMapIterator

Enclosing Class:
AbstractLinkedMap
Implemented Interfaces:
Iterator, MapIterator, OrderedIterator, OrderedMapIterator, ResettableIterator

protected static class AbstractLinkedMap.LinkMapIterator
extends AbstractLinkedMap.LinkIterator
implements OrderedMapIterator

MapIterator implementation.

Field Summary

Fields inherited from class org.apache.commons.collections.map.AbstractLinkedMap.LinkIterator

expectedModCount, last, next, parent

Constructor Summary

LinkMapIterator(AbstractLinkedMap parent)

Method Summary

Object
getKey()
Object
getValue()
Object
next()
Object
previous()
Object
setValue(Object value)

Methods inherited from class org.apache.commons.collections.map.AbstractLinkedMap.LinkIterator

currentEntry, hasNext, hasPrevious, nextEntry, previousEntry, remove, reset, toString

Constructor Details

LinkMapIterator

protected LinkMapIterator(AbstractLinkedMap parent)

Method Details

getKey

public Object getKey()
Specified by:
getKey in interface MapIterator

getValue

public Object getValue()
Specified by:
getValue in interface MapIterator

next

public Object next()
Specified by:
next in interface MapIterator

previous

public Object previous()
Specified by:
previous in interface OrderedMapIterator
previous in interface OrderedIterator

setValue

public Object setValue(Object value)
Specified by:
setValue in interface MapIterator

Copyright © 2001-2006 Apache Software Foundation. All Rights Reserved.