Package org.jboss.util.collection
Class CachedCollection.MyIterator
- java.lang.Object
-
- org.jboss.util.collection.CachedCollection.MyIterator
-
- All Implemented Interfaces:
java.util.Iterator
- Enclosing class:
- CachedCollection
private final class CachedCollection.MyIterator extends java.lang.Object implements java.util.Iterator
A dereferencing iterator.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Iterator
iter
-
Constructor Summary
Constructors Constructor Description MyIterator(java.util.Iterator iter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
java.lang.Object
next()
private java.lang.Object
nextObject()
void
remove()
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator
-
nextObject
private java.lang.Object nextObject()
-
next
public java.lang.Object next()
- Specified by:
next
in interfacejava.util.Iterator
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator
-
-