T - Type of the elements contained in the collections.public class MappedCollectionsIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
| Constructor and Description |
|---|
MappedCollectionsIterator(java.util.Map<?,? extends java.util.Collection<T>> map)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
T |
next() |
void |
remove()
Throws an UnsupportedOperationException.
|
public MappedCollectionsIterator(java.util.Map<?,? extends java.util.Collection<T>> map)
map - The map containing the collections.public void remove()
remove in interface java.util.Iterator<T>java.lang.UnsupportedOperationException - Remove not supported by this
iterator.public boolean hasNext()
hasNext in interface java.util.Iterator<T>