com.hazelcast.util.collection

## Class Int2ObjectHashMap.KeyIterator

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

- All Implemented Interfaces:
    Iterator<Integer>
  Enclosing class:
    Int2ObjectHashMap<V>

      public class Int2ObjectHashMap.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
    --- | ---
    `Integer` | `next()`
    `int` | `nextInt()` 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 Integer next()

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

    - #### nextInt

          public int nextInt()

      Non-boxing variant of next().

Copyright © 2020. All rights reserved.