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 privateQueueNullIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Returns true if the iteration has more elements.java.lang.Stringnext()Returns the next element in the iteration.voidremove()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:
hasNextin interfacejava.util.Iterator<java.lang.String>
-
next
public java.lang.String next()
Returns the next element in the iteration.- Specified by:
nextin interfacejava.util.Iterator<java.lang.String>
-
remove
public void remove()
Removes from the underlying collection the last element returned by this iterator.- Specified by:
removein interfacejava.util.Iterator<java.lang.String>
-
-