The Octet Molecular Representation Framework v0.8.2

net.sf.octet.collection
Interface GammaSequenceIterator


public interface GammaSequenceIterator

An iterator for an GammaSequenceCollection.

Author:
Richard Apodaca
See Also:
"Iterator Pattern [GoF95]"

Method Summary
 boolean hasNext()
          Returns true if the iterator has another GammaSequence.
 GammaSequence nextGammaSequence()
          Returns the next GammaSequence.
 

Method Detail

hasNext

public boolean hasNext()
Returns true if the iterator has another GammaSequence.

Returns:
true if another GammaSequence is available, false otherwise

nextGammaSequence

public GammaSequence nextGammaSequence()
Returns the next GammaSequence.

Returns:
the next GammaSequence
Throws:
NoSuchElementException - if this iterator has no more elements

The Octet Molecular Representation Framework v0.8.2