|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.trove.TIterator
gnu.trove.TPrimitiveIterator
gnu.trove.TLongIterator
public class TLongIterator
Iterator for long collections.
Field Summary | |
---|---|
private TLongHash |
_hash
the collection on which the iterator operates |
Fields inherited from class gnu.trove.TIterator |
---|
_expectedSize, _index |
Constructor Summary | |
---|---|
TLongIterator(TLongHash hash)
Creates a TLongIterator for the elements in the specified collection. |
Method Summary | |
---|---|
long |
next()
Advances the iterator to the next element in the underlying collection and returns it. |
Methods inherited from class gnu.trove.TPrimitiveIterator |
---|
nextIndex |
Methods inherited from class gnu.trove.TIterator |
---|
hasNext, moveToNextIndex, remove |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final TLongHash _hash
Constructor Detail |
---|
public TLongIterator(TLongHash hash)
Method Detail |
---|
public long next()
NoSuchElementException
- if the iterator is already exhausted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |