Class Long2LongHashMap.KeyIterator

  • All Implemented Interfaces:
    java.util.Iterator<java.lang.Long>
    Enclosing class:
    Long2LongHashMap

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

      • KeyIterator

        public KeyIterator()
        Create a new instance.
    • Method Detail

      • next

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

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