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