Package ch.cern.dirq
Class QueueNull.QueueNullIterator
- java.lang.Object
-
- ch.cern.dirq.QueueNull.QueueNullIterator
-
- All Implemented Interfaces:
java.util.Iterator<java.lang.String>
- Enclosing class:
- QueueNull
private static class QueueNull.QueueNullIterator extends java.lang.Object implements java.util.Iterator<java.lang.String>
Iterator for the null directory queue (private).
-
-
Constructor Summary
Constructors Modifier Constructor Description private
QueueNullIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
Returns true if the iteration has more elements.- Specified by:
hasNext
in interfacejava.util.Iterator<java.lang.String>
-
next
public java.lang.String next()
Returns the next element in the iteration.- Specified by:
next
in interfacejava.util.Iterator<java.lang.String>
-
remove
public void remove()
Removes from the underlying collection the last element returned by this iterator.- Specified by:
remove
in interfacejava.util.Iterator<java.lang.String>
-
-