Modifier and Type | Method and Description |
---|---|
double |
estimateProgress()
Estimates the iteration progress.
|
Throwable |
getThrowable()
Deprecated.
Not used.
next() throws NoSuchElementException in case of error. |
boolean |
hasNext()
Tests whether the iteration has more elements.
|
Molecule |
next()
Gets the next molecule.
|
Molecule next()
next
in interface Iterator<Molecule>
null
at end of fileNoSuchElementException
- if an error occurred, and the next element cannot be returnedboolean hasNext()
@Deprecated Throwable getThrowable()
hasNext()
returns false
.null
if it stopped normallydouble estimateProgress()