Class Int2IntHashMap.KeyIterator

  • All Implemented Interfaces:
    java.util.Iterator<java.lang.Integer>
    Enclosing class:
    Int2IntHashMap

    public final class Int2IntHashMap.KeyIterator
    extends Int2IntHashMap.AbstractIterator
    implements java.util.Iterator<java.lang.Integer>
    Iterator over keys which supports access to unboxed keys via nextValue().
    • Constructor Detail

      • KeyIterator

        public KeyIterator()
    • Method Detail

      • next

        public java.lang.Integer next()
        Specified by:
        next in interface java.util.Iterator<java.lang.Integer>
      • nextValue

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