Interface IntIterator
- All Known Implementing Classes:
CompoundIntIterator
,EmptyIntIterator
public interface IntIterator
a more efficient iterator for sets of integers
-
Method Summary
-
Method Details
-
hasNext
boolean hasNext()- Returns:
- true iff this iterator has a next element
-
next
int next()- Returns:
- next integer in the iteration
-