Interface ProteinIterator
- All Known Implementing Classes:
FastaIterator
public interface ProteinIterator
Interface for a protein iterator.
- Author:
- Marc Vaudel
-
Method Summary
Modifier and Type Method Description Protein
getNextProtein()
Returns the next protein.
-
Method Details
-
getNextProtein
Protein getNextProtein()Returns the next protein. Null if end was reached. If an error is encountered while iterating, the exception is thrown as runtime exception.- Returns:
- the next protein
-