Class ConcurrentReaderHashMap.ValueIterator
java.lang.Object
org.codehaus.groovy.runtime.metaclass.ConcurrentReaderHashMap.HashIterator
org.codehaus.groovy.runtime.metaclass.ConcurrentReaderHashMap.ValueIterator
- All Implemented Interfaces:
Enumeration,Iterator
- Enclosing class:
- ConcurrentReaderHashMap
Iterator over the values of the map.
-
Field Summary
Fields inherited from class org.codehaus.groovy.runtime.metaclass.ConcurrentReaderHashMap.HashIterator
currentKey, currentValue, entry, index, lastReturned, tab -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.codehaus.groovy.runtime.metaclass.ConcurrentReaderHashMap.HashIterator
hasMoreElements, hasNext, next, nextElement, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Enumeration
asIteratorMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
ValueIterator
protected ValueIterator()
-
-
Method Details
-
returnValueOfNext
Description copied from class:ConcurrentReaderHashMap.HashIteratorReturns the value of the next element. This method can be overridden by subclasses to return different values (e.g., just the key or just the value instead of the whole entry).- Overrides:
returnValueOfNextin classConcurrentReaderHashMap.HashIterator- Returns:
- the value to return for the next element
-