org.apache.commons.collections.map

Class AbstractHashedMap.HashIterator

protected abstract static class AbstractHashedMap.HashIterator extends Object implements Iterator

Base Iterator
Field Summary
protected intexpectedModCount
The modification count expected
protected inthashIndex
The current index into the array of buckets
protected AbstractHashedMap.HashEntrylast
The last returned entry
protected AbstractHashedMap.HashEntrynext
The next entry
protected AbstractHashedMapparent
The parent map
Constructor Summary
protected HashIterator(AbstractHashedMap parent)
Method Summary
protected AbstractHashedMap.HashEntrycurrentEntry()
booleanhasNext()
protected AbstractHashedMap.HashEntrynextEntry()
voidremove()
StringtoString()

Field Detail

expectedModCount

protected int expectedModCount
The modification count expected

hashIndex

protected int hashIndex
The current index into the array of buckets

last

protected AbstractHashedMap.HashEntry last
The last returned entry

protected AbstractHashedMap.HashEntry next
The next entry

parent

protected final AbstractHashedMap parent
The parent map

Constructor Detail

HashIterator

protected HashIterator(AbstractHashedMap parent)

Method Detail

currentEntry

protected AbstractHashedMap.HashEntry currentEntry()

hasNext

public boolean hasNext()

nextEntry

protected AbstractHashedMap.HashEntry nextEntry()

remove

public void remove()

toString

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