Package ch.cern.dirq

Class QueueNull.QueueNullIterator

java.lang.Object
ch.cern.dirq.QueueNull.QueueNullIterator
All Implemented Interfaces:
Iterator<String>
Enclosing class:
QueueNull

private static class QueueNull.QueueNullIterator extends Object implements Iterator<String>
Iterator for the null directory queue (private).
  • Constructor Details

    • QueueNullIterator

      private QueueNullIterator()
  • Method Details

    • hasNext

      public boolean hasNext()
      Returns true if the iteration has more elements.
      Specified by:
      hasNext in interface Iterator<String>
    • next

      public String next()
      Returns the next element in the iteration.
      Specified by:
      next in interface Iterator<String>
    • remove

      public void remove()
      Removes from the underlying collection the last element returned by this iterator.
      Specified by:
      remove in interface Iterator<String>