|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisad.data.netcdf.QuantityDBImpl.Iterator
protected abstract class QuantityDBImpl.Iterator
Provides support for iterating over the database.
Field Summary | |
---|---|
protected java.util.Iterator |
iterator
The private iterator. |
Constructor Summary | |
---|---|
protected |
QuantityDBImpl.Iterator()
|
Method Summary | |
---|---|
protected boolean |
doSwitch()
Switchs to the other database. |
boolean |
hasNext()
|
java.lang.Object |
next()
|
protected abstract java.util.Iterator |
nextIterator()
Gets the iterator for the successor database. |
protected abstract java.lang.Object |
nextObject()
|
void |
remove()
Remove the element returned by the last next() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Iterator iterator
Constructor Detail |
---|
protected QuantityDBImpl.Iterator()
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator
protected abstract java.lang.Object nextObject()
public java.lang.Object next()
next
in interface java.util.Iterator
protected abstract java.util.Iterator nextIterator()
protected boolean doSwitch()
true
if an only if the other
database exists and this is the first switch
to it.public void remove() throws UnsupportedOperationException
next()
.
remove
in interface java.util.Iterator
UnsupportedOperationException
- Operation not supported.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |