Class Queue.QueueIterable<T>

  • All Implemented Interfaces:
    java.lang.Iterable<T>
    Enclosing class:
    Queue<T>

    public static class Queue.QueueIterable<T>
    extends java.lang.Object
    implements java.lang.Iterable<T>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<T> iterator()  
      • Methods inherited from class java.lang.Object

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

        forEach, spliterator
    • Constructor Detail

      • QueueIterable

        public QueueIterable​(Queue<T> queue)
      • QueueIterable

        public QueueIterable​(Queue<T> queue,
                             boolean allowRemove)
    • Method Detail