Interface IBmLongIterator
-
- All Known Implementing Classes:
BmConcatLongIterator
,BmEmptyLongIterator
,BmLongArrayIterator
public interface IBmLongIterator
Analog of Iterator class but for long values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
hasNext()
Returnstrue
if the iteration has more elements.long
next()
Returns the next element in the iteration.
-
-
-
Method Detail
-
hasNext
boolean hasNext()
Returnstrue
if the iteration has more elements. (In other words, returnstrue
ifnext()
would return an element rather than throwing an exception.)- Returns:
true
if the iteration has more elements
-
next
long next()
Returns the next element in the iteration.- Returns:
- the next element in the iteration
- Throws:
NoSuchElementException
- if the iteration has no more elements
-
-