gnu.trove
public class TDoubleIterator extends TPrimitiveIterator
Version: $Id: TDoubleIterator.java,v 1.2 2003/03/19 04:41:29 ericdf Exp $
Field Summary | |
---|---|
TDoubleHash | _hash the collection on which the iterator operates |
Constructor Summary | |
---|---|
TDoubleIterator(TDoubleHash hash)
Creates a TDoubleIterator for the elements in the specified collection. |
Method Summary | |
---|---|
double | next()
Advances the iterator to the next element in the underlying collection
and returns it.
|
Returns: the next double in the collection
Throws: NoSuchElementException if the iterator is already exhausted