Package gnu.trove.iterator
Interface TShortIterator
- All Superinterfaces:
TIterator
Iterator for short collections.
-
Method Summary
Modifier and TypeMethodDescriptionshortnext()Advances the iterator to the next element in the underlying collection and returns it.
-
Method Details
-
next
short next()Advances the iterator to the next element in the underlying collection and returns it.- Returns:
- the next short in the collection
- Throws:
NoSuchElementException- if the iterator is already exhausted
-