Class: java.util.concurrent.ConcurrentHashMap.ValueIterator
- final class ConcurrentHashMap.ValueIterator
- extends ConcurrentHashMap<K, V>.HashIterator
- implements Iterator<V>, Enumeration<V>
Inheritance
Superclass tree:- java.lang.Object
- java.util.concurrent.ConcurrentHashMap<K, V>.HashIterator
- java.util.concurrent.ConcurrentHashMap.ValueIterator
- Iterator<V>
- Enumeration<V>
Methods
-
ConcurrentHashMap.ValueIteratortop
ConcurrentHashMap.ValueIterator() -
nexttop
public V next()Returns the next element in the iteration. Calling this method repeatedly until the java.util.Iterator.hasNext() method returns false will return each element in the underlying collection exactly once. -
nextElementtop
public V nextElement()Returns the next element of this enumeration if this enumeration object has at least one more element to provide.- Specified by:
- nextElement from Enumeration<V>
