Interface LongIterator
public interface LongIterator
a more efficient iterator for sets of longs
-
Method Summary
-
Method Details
-
hasNext
boolean hasNext()- Returns:
- true iff this iterator has a next element
-
next
long next()- Returns:
- next long in the iteration
- Throws:
NoSuchElementException- if the iteration has no more elements
-