Class NoDigestionIterator
java.lang.Object
com.compomics.util.experiment.identification.protein_sequences.digestion.iterators.NoDigestionIterator
- All Implemented Interfaces:
SequenceIterator
Iterator for no digestion.
- Author:
- Marc Vaudel
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty default constructorNoDigestionIterator(ProteinIteratorUtils proteinIteratorUtils, String sequence, double massMin, double massMax) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the next peptide that can be generated from the iterator.
-
Constructor Details
-
NoDigestionIterator
public NoDigestionIterator()Empty default constructor -
NoDigestionIterator
public NoDigestionIterator(ProteinIteratorUtils proteinIteratorUtils, String sequence, double massMin, double massMax) throws InterruptedException Constructor.- Parameters:
proteinIteratorUtils- utils for the creation of the peptidessequence- the sequence to iteratemassMin- the minimal mass of a peptidemassMax- the maximal mass of a peptide- Throws:
InterruptedException- exception thrown if a thread is interrupted
-
-
Method Details
-
getNextPeptide
Description copied from interface:SequenceIteratorReturns the next peptide that can be generated from the iterator. Null if none left.- Specified by:
getNextPeptidein interfaceSequenceIterator- Returns:
- the next peptide that can be generated from the iterator
-