protected static class LinkSet.EndIterator
extends java.lang.Object
implements java.util.Iterator
| Constructor and Description |
|---|
EndIterator(java.util.Map map)
Create an EndIterator for the given Map.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Returns true if the iteration has more elements.
|
java.lang.Object |
next()
Returns the next element in the interation.
|
void |
remove()
Removes from the underlying collection the last element returned
by the iterator (optional operation).
|
public EndIterator(java.util.Map map)
map - map for iteratorpublic boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorpublic void remove()
throws java.lang.UnsupportedOperationException
remove in interface java.util.Iteratorjava.lang.UnsupportedOperationException - always (not supported)