org.objectweb.jac.aspects.persistence
Class StorageIterator
java.lang.Object
|
+--org.objectweb.jac.aspects.persistence.StorageIterator
- All Implemented Interfaces:
- Iterator
- Direct Known Subclasses:
- ListIterator, MapIterator, SetIterator
- public abstract class StorageIterator
- extends Object
- implements Iterator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StorageIterator
public StorageIterator(Wrappee collection)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
next
public Object next()
throws NoSuchElementException
- Specified by:
next
in interface Iterator
NoSuchElementException
remove
public void remove()
- Specified by:
remove
in interface Iterator
getCollectionSize
protected abstract long getCollectionSize()
throws Exception
- Returns the size of the collection
Exception