|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.data.netcdf.QuantityDBImpl.Iterator
protected abstract class QuantityDBImpl.Iterator
Provides support for iterating over the database.
Field Summary | |
---|---|
protected Iterator |
iterator
The private iterator. |
Constructor Summary | |
---|---|
protected |
QuantityDBImpl.Iterator()
|
Method Summary | |
---|---|
protected boolean |
doSwitch()
Switchs to the other database. |
boolean |
hasNext()
|
Object |
next()
|
protected abstract Iterator |
nextIterator()
Gets the iterator for the successor database. |
protected abstract 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 Iterator iterator
Constructor Detail |
---|
protected QuantityDBImpl.Iterator()
Method Detail |
---|
public boolean hasNext()
hasNext
in interface Iterator
protected abstract Object nextObject()
public Object next()
next
in interface Iterator
protected abstract 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 Iterator
UnsupportedOperationException
- Operation not supported.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |