Class Int2IntHashMap.ValueIterator

java.lang.Object
org.agrona.collections.Int2IntHashMap.AbstractIterator
org.agrona.collections.Int2IntHashMap.ValueIterator
All Implemented Interfaces:
Iterator<Integer>
Enclosing class:
Int2IntHashMap

public final class Int2IntHashMap.ValueIterator extends Int2IntHashMap.AbstractIterator implements Iterator<Integer>
Iterator over values which supports access to unboxed values.
  • Constructor Details

    • ValueIterator

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

    • next

      public Integer next()
      Specified by:
      next in interface Iterator<Integer>
    • nextValue

      public int nextValue()
      Return next value.
      Returns:
      next value.