org.apache.commons.collections.map

Class AbstractLinkedMap.LinkIterator

protected abstract static class AbstractLinkedMap.LinkIterator extends Object implements OrderedIterator, ResettableIterator

Base Iterator that iterates in link order.
Field Summary
protected intexpectedModCount
The modification count expected
protected AbstractLinkedMap.LinkEntrylast
The current (last returned) entry
protected AbstractLinkedMap.LinkEntrynext
The next entry
protected AbstractLinkedMapparent
The parent map
Constructor Summary
protected LinkIterator(AbstractLinkedMap parent)
Method Summary
protected AbstractLinkedMap.LinkEntrycurrentEntry()
booleanhasNext()
booleanhasPrevious()
protected AbstractLinkedMap.LinkEntrynextEntry()
protected AbstractLinkedMap.LinkEntrypreviousEntry()
voidremove()
voidreset()
StringtoString()

Field Detail

expectedModCount

protected int expectedModCount
The modification count expected

last

protected AbstractLinkedMap.LinkEntry last
The current (last returned) entry

protected AbstractLinkedMap.LinkEntry next
The next entry

parent

protected final AbstractLinkedMap parent
The parent map

Constructor Detail

LinkIterator

protected LinkIterator(AbstractLinkedMap parent)

Method Detail

currentEntry

protected AbstractLinkedMap.LinkEntry currentEntry()

hasNext

public boolean hasNext()

hasPrevious

public boolean hasPrevious()

nextEntry

protected AbstractLinkedMap.LinkEntry nextEntry()

previousEntry

protected AbstractLinkedMap.LinkEntry previousEntry()

remove

public void remove()

reset

public void reset()

toString

public String toString()
Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.