Class ConcurrentReferenceHashMap.HashIterator
java.lang.Object
org.apache.groovy.util.concurrent.ConcurrentReferenceHashMap.HashIterator
- Enclosing class:
- ConcurrentReferenceHashMap<K,
V>
Base iterator implementation for traversing the map.
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()- Returns:
trueif more elements remain (delegates tohasNext())
-
hasNext
public boolean hasNext()- Returns:
trueif there is a next live entry to iterate to
-
remove
public void remove()Removes the last entry returned by the iterator.
-