protected abstract class QuantityDBImpl.Iterator
extends java.lang.Object
implements java.util.Iterator
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Iterator |
iterator
The private iterator.
|
| Modifier | Constructor and Description |
|---|---|
protected |
QuantityDBImpl.Iterator() |
| Modifier and Type | Method and Description |
|---|---|
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(). |
public boolean hasNext()
hasNext in interface java.util.Iteratorprotected abstract java.lang.Object nextObject()
public java.lang.Object next()
next in interface java.util.Iteratorprotected 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.IteratorUnsupportedOperationException - Operation not supported.