Class UnmodifiableCollectionView.ReusableIterator

java.lang.Object
org.agrona.collections.UnmodifiableCollectionView.ReusableIterator
All Implemented Interfaces:
Iterator<V>
Enclosing class:
UnmodifiableCollectionView<V,E>

public final class UnmodifiableCollectionView.ReusableIterator extends Object implements Iterator<V>
A stateful reusable iterator.
  • Constructor Details

    • ReusableIterator

      public ReusableIterator()
      Create a new instance.
  • Method Details

    • hasNext

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

      public V next()
      Specified by:
      next in interface Iterator<V>