⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
org.apache.commons.collections.map

Class AbstractHashedMap.HashIterator

java.lang.Object
|
+--org.apache.commons.collections.map.AbstractHashedMap.HashIterator
Enclosing Class:

All Implemented Interfaces:
Iterator

Known Direct Subclasses:
AbstractHashedMap.EntrySetIterator, AbstractHashedMap.HashMapIterator, AbstractHashedMap.ValuesIterator


protected static abstract class AbstractHashedMap.HashIterator
extends java.lang.Object
implements Iterator

Base Iterator

Field Summary

int

expectedModCount

The modification count expected

int

hashIndex

The current index into the array of buckets

AbstractHashedMap.HashEntry

last

The last returned entry

AbstractHashedMap.HashEntry

next

The next entry

AbstractHashedMap

parent

The parent map

Constructor Summary

HashIterator(AbstractHashedMap parent)

Method Summary

AbstractHashedMap.HashEntry

currentEntry()

boolean

hasNext()

AbstractHashedMap.HashEntry

nextEntry()

void

remove()

String

toString()

Field Details

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


next

protected AbstractHashedMap.HashEntry next

The next entry


parent

protected final AbstractHashedMap parent

The parent map

Constructor Details

HashIterator

protected HashIterator(AbstractHashedMap parent)

Parameters:
parent

Method Details

currentEntry

protected AbstractHashedMap.HashEntry currentEntry()


hasNext

public boolean hasNext()


nextEntry

protected AbstractHashedMap.HashEntry nextEntry()


remove

public void remove()


toString

public String toString()