Package ucar.unidata.data.sounding
Class LinkSet.EndIterator
java.lang.Object
ucar.unidata.data.sounding.LinkSet.EndIterator
- All Implemented Interfaces:
Iterator
- Enclosing class:
LinkSet
A wrapper around the iterator of the keyset of a Map
-
Constructor Details
-
EndIterator
Create an EndIterator for the given Map.- Parameters:
map
- map for iterator
-
-
Method Details
-
hasNext
public boolean hasNext()Returns true if the iteration has more elements. (In other words, returns true if next would return an element rather than throwing an exception.) -
next
Returns the next element in the interation. -
remove
Removes from the underlying collection the last element returned by the iterator (optional operation). Not supported in this implementation- Specified by:
remove
in interfaceIterator
- Throws:
UnsupportedOperationException
- always (not supported)
-