|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LongPrimitiveIterator
Adds notion of iterating over long
primitives in the style of an Iterator
-- as
opposed to iterating over Long
. Implementations of this interface however also implement
Iterator
and Iterable
over Long
for convenience.
Method Summary | |
---|---|
long |
nextLong()
|
long |
peek()
|
Methods inherited from interface org.apache.mahout.cf.taste.impl.common.SkippingIterator |
---|
skip |
Methods inherited from interface java.util.Iterator |
---|
hasNext, next, remove |
Method Detail |
---|
long nextLong()
long
in iteration
NoSuchElementException
- if no more elements exist in the iterationlong peek()
long
in iteration without advancing iteration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |