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.IteratorA dereferencing iterator.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Iteratoriter
-
Constructor Summary
Constructors Constructor Description MyIterator(java.util.Iterator iter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()java.lang.Objectnext()private java.lang.ObjectnextObject()voidremove()
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator
-
nextObject
private java.lang.Object nextObject()
-
next
public java.lang.Object next()
- Specified by:
nextin interfacejava.util.Iterator
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator
-
-