private static class QueueNull.QueueNullIterator
extends java.lang.Object
implements java.util.Iterator<java.lang.String>
Modifier | Constructor and Description |
---|---|
private |
QueueNullIterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns true if the iteration has more elements.
|
java.lang.String |
next()
Returns the next element in the iteration.
|
void |
remove()
Removes from the underlying collection the last element returned by this iterator.
|
public boolean hasNext()
hasNext
in interface java.util.Iterator<java.lang.String>
public java.lang.String next()
next
in interface java.util.Iterator<java.lang.String>
public void remove()
remove
in interface java.util.Iterator<java.lang.String>