Package org.apache.groovy.util.concurrent

# Class ConcurrentReferenceHashMap.HashIterator

java.lang.Object
org.apache.groovy.util.concurrent.ConcurrentReferenceHashMap.HashIterator

Enclosing class:
  ConcurrentReferenceHashMap<K,V>

protected abstract class ConcurrentReferenceHashMap.HashIterator extends Object
Base iterator implementation for traversing the map.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `hasMoreElements()`
  `boolean`
  `hasNext()`
  `void`
  `remove()`
  Removes the last entry returned by the iterator.

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

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

- ## Method Details

  - ### hasMoreElements

    public boolean hasMoreElements()
    Returns:
      `true` if more elements remain (delegates to `hasNext()`)

  - ### hasNext

    public boolean hasNext()
    Returns:
      `true` if there is a next live entry to iterate to

  - ### remove

    public void remove()
    Removes the last entry returned by the iterator.