Class SingleThreadEventLoop.ChannelsReadOnlyIterator<T extends Channel>

  • All Implemented Interfaces:
    java.util.Iterator<Channel>
    Enclosing class:
    SingleThreadEventLoop

    protected static final class SingleThreadEventLoop.ChannelsReadOnlyIterator<T extends Channel>
    extends java.lang.Object
    implements java.util.Iterator<Channel>
    • Constructor Summary

      Constructors 
      Constructor Description
      ChannelsReadOnlyIterator​(java.lang.Iterable<T> channelIterable)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> java.util.Iterator<T> empty()  
      boolean hasNext()  
      Channel next()  
      void remove()  
      • 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

      • ChannelsReadOnlyIterator

        public ChannelsReadOnlyIterator​(java.lang.Iterable<T> channelIterable)
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<T extends Channel>
      • next

        public Channel next()
        Specified by:
        next in interface java.util.Iterator<T extends Channel>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<T extends Channel>
      • empty

        public static <T> java.util.Iterator<T> empty()