com.hazelcast.util.collection

## Class Long2LongHashMap.LongIterator

- java.lang.Object
- - com.hazelcast.util.collection.Long2LongHashMap.LongIterator

- All Implemented Interfaces:
    Iterator<Long>
  Enclosing class:
    Long2LongHashMap

      public final class Long2LongHashMap.LongIterator
      extends Object
      implements Iterator<Long>

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

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Long` | `next()`
    `long` | `nextValue()` Non-boxing variant of next().
    `Long2LongHashMap.LongIterator` | `reset()` Makes this iterator reusable.

    - ### 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, hasNext, remove`

- - ### Method Detail

    - #### next

          public Long next()

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

    - #### nextValue

          public long nextValue()

      Non-boxing variant of next().

    - #### reset

          public Long2LongHashMap.LongIterator reset()

      Makes this iterator reusable.

Copyright © 2018. All rights reserved.