Package ch.cern.dirq

Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • Constructor Detail

      • QueueNullIterator

        private QueueNullIterator()
    • Method Detail

      • hasNext

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

        public java.lang.String next()
        Returns the next element in the iteration.
        Specified by:
        next in interface java.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 interface java.util.Iterator<java.lang.String>