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.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void remove() throws java.lang.UnsupportedOperationException
remove
in interface java.util.Iterator
java.lang.UnsupportedOperationException
- always (not supported)