com.hazelcast.util.collection

## Class Long2ObjectHashMap.KeyIterator

- java.lang.Object
- - com.hazelcast.util.collection.Long2ObjectHashMap.KeyIterator

- All Implemented Interfaces:
    Iterator<Long>
  Enclosing class:
    Long2ObjectHashMap<V>

      public class Long2ObjectHashMap.KeyIterator
      extends Object

  Adds an unboxed next() method to the standard Iterator interface.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `KeyIterator()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Long` | `next()`
    `long` | `nextLong()` Non-boxing variant of next().

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.util.Iterator

      `forEachRemaining`

- - ### Constructor Detail

    - #### KeyIterator

          public KeyIterator()

  - ### Method Detail

    - #### next

          public Long next()

      Specified by:
        `next` in interface `Iterator<Long>`

    - #### nextLong

          public long nextLong()

      Non-boxing variant of next().

Copyright © 2018. All rights reserved.