Class FixedBuffer.FixedBufferIterator

java.lang.Object
org.jgroups.util.FixedBuffer.FixedBufferIterator
All Implemented Interfaces:
Iterator<T>
Enclosing class:
FixedBuffer<T>

protected class FixedBuffer.FixedBufferIterator extends Object implements Iterator<T>
Since:
5.4
Author:
Bela Ban
  • Field Details

    • buffer

      protected final T[] buffer
    • current

      protected long current
  • Constructor Details

    • FixedBufferIterator

      public FixedBufferIterator(T[] buffer)
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<T>
    • next

      public T next()
      Specified by:
      next in interface Iterator<T>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<T>