net.walend.collection
Class MapBag.BagIterator
java.lang.Object
|
+--net.walend.collection.MapBag.BagIterator
- All Implemented Interfaces:
- java.util.Iterator
- Enclosing class:
- MapBag
- protected class MapBag.BagIterator
- extends java.lang.Object
- implements java.util.Iterator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
keyIt
private java.util.Iterator keyIt
object
private java.lang.Object object
nextCalled
private boolean nextCalled
currentCounter
private MapBag.Counter currentCounter
count
private int count
map
private java.util.Map map
bag
private Bag bag
MapBag.BagIterator
public MapBag.BagIterator(java.util.Map map,
MapBag bag)
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface java.util.Iterator
next
public java.lang.Object next()
- Specified by:
next in interface java.util.Iterator
remove
public void remove()
- Specified by:
remove in interface java.util.Iterator
Copyright (c) 2001, 2002, David Walend