Interface MoleculeIterator

    • Method Detail

      • hasNext

        boolean hasNext()
        Tests whether the iteration has more elements.
        Specified by:
        hasNext in interface Iterator<Molecule>
        true if the iterator has more elements, false if there are no more elements
      • getThrowable

        Throwable getThrowable()
        Not used. next() throws NoSuchElementException in case of error.
        Gets the exception which stopped the iteration. It should be called when hasNext() returns false.
        the exception if the iteration was stopped by an error, null if it stopped normally
      • estimateProgress

        double estimateProgress()
        Estimates the iteration progress.
        number between 0 and 1