java.lang.Object
com.compomics.util.experiment.identification.protein_sequences.digestion.iterators.NoDigestionIterator
All Implemented Interfaces:
SequenceIterator

public class NoDigestionIterator extends Object implements SequenceIterator
Iterator for no digestion.
Author:
Marc Vaudel
  • 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 peptides
      sequence - the sequence to iterate
      massMin - the minimal mass of a peptide
      massMax - the maximal mass of a peptide
      Throws:
      InterruptedException - exception thrown if a thread is interrupted
  • Method Details

    • getNextPeptide

      public ExtendedPeptide getNextPeptide()
      Description copied from interface: SequenceIterator
      Returns the next peptide that can be generated from the iterator. Null if none left.
      Specified by:
      getNextPeptide in interface SequenceIterator
      Returns:
      the next peptide that can be generated from the iterator