Interface SequenceIterator
- All Known Implementing Classes:
NoDigestionCombinationIterator,NoDigestionIterator,SpecificSingleEnzymeCombinationIterator,SpecificSingleEnzymeIterator,UnspecificCombinationIterator,UnspecificIterator
public interface SequenceIterator
Interface for an iterator returning peptides along a protein sequence.
- Author:
- Marc Vaudel
-
Method Summary
Modifier and TypeMethodDescriptionReturns the next peptide that can be generated from the iterator.
-
Method Details
-
getNextPeptide
Returns the next peptide that can be generated from the iterator. Null if none left.- Returns:
- the next peptide that can be generated from the iterator
- Throws:
InterruptedException- exception thrown if a thread is interrupted
-