Class CompositeByteBuf.CompositeByteBufIterator

java.lang.Object
io.netty.buffer.CompositeByteBuf.CompositeByteBufIterator
All Implemented Interfaces:
java.util.Iterator<ByteBuf>
Enclosing class:
CompositeByteBuf

private final class CompositeByteBuf.CompositeByteBufIterator extends java.lang.Object implements java.util.Iterator<ByteBuf>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private int
     
    private final int
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
    void
     

    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
  • Field Details

    • size

      private final int size
    • index

      private int index
  • Constructor Details

    • CompositeByteBufIterator

      private CompositeByteBufIterator()
  • Method Details

    • hasNext

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

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

      public void remove()
      Specified by:
      remove in interface java.util.Iterator<ByteBuf>