org.apache.commons.collections.map

Class AbstractHashedMap.HashMapIterator

Enclosing Class:
AbstractHashedMap
Implemented Interfaces:
Iterator, MapIterator

protected static class AbstractHashedMap.HashMapIterator
extends AbstractHashedMap.HashIterator
implements MapIterator

MapIterator implementation.

Field Summary

Fields inherited from class org.apache.commons.collections.map.AbstractHashedMap.HashIterator

expectedModCount, hashIndex, last, next, parent

Constructor Summary

HashMapIterator(AbstractHashedMap parent)

Method Summary

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

Methods inherited from class org.apache.commons.collections.map.AbstractHashedMap.HashIterator

currentEntry, hasNext, nextEntry, remove, toString

Constructor Details

HashMapIterator

protected HashMapIterator(AbstractHashedMap 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

setValue

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

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