com.e4graph
Class StorageIterator

java.lang.Object
  |
  +--com.e4graph.StorageIterator
All Implemented Interfaces:
java.util.Iterator

public class StorageIterator
extends java.lang.Object
implements java.util.Iterator


Constructor Summary
StorageIterator()
          Constructor that returns an iterator that will iterate over all open storages in turn.
 
Method Summary
 boolean hasNext()
          Is there another storage to iterate over?
 java.lang.Object next()
          Get the next storage to visit.
 void remove()
          The remove() operation always throws UnsupportedOperationException.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StorageIterator

public StorageIterator()
Constructor that returns an iterator that will iterate over all open storages in turn.

Method Detail

hasNext

public boolean hasNext()
Is there another storage to iterate over?

Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
                      throws java.util.NoSuchElementException
Get the next storage to visit.

Specified by:
next in interface java.util.Iterator
java.util.NoSuchElementException

remove

public void remove()
            throws java.lang.UnsupportedOperationException
The remove() operation always throws UnsupportedOperationException.

Specified by:
remove in interface java.util.Iterator
java.lang.UnsupportedOperationException