Class ProteinMatchesIterator
java.lang.Object
com.compomics.util.experiment.identification.matches_iterators.MatchesIterator
com.compomics.util.experiment.identification.matches_iterators.ProteinMatchesIterator
public class ProteinMatchesIterator extends MatchesIterator
An iterator of protein matches.
- Author:
- Marc Vaudel, Harald Barsnes, Dominik Kopczynski
-
Constructor Summary
Constructors Constructor Description ProteinMatchesIterator()
Empty default constructorProteinMatchesIterator(long[] keys, Identification identification, WaitingHandler waitingHandler, boolean displayProgress)
Constructor.ProteinMatchesIterator(Identification identification, WaitingHandler waitingHandler, boolean displayProgress)
Constructor. -
Method Summary
Modifier and Type Method Description ProteinMatch
next()
Returns the next match and updates the buffer.Methods inherited from class com.compomics.util.experiment.identification.matches_iterators.MatchesIterator
nextObject
-
Constructor Details
-
ProteinMatchesIterator
public ProteinMatchesIterator()Empty default constructor -
ProteinMatchesIterator
public ProteinMatchesIterator(Identification identification, WaitingHandler waitingHandler, boolean displayProgress)Constructor.- Parameters:
identification
- the identification where to get the matches fromwaitingHandler
- the waiting handler allowing displaying progress and canceling the processdisplayProgress
- boolean indicating whether the progress of this method should be displayed on the waiting handler
-
ProteinMatchesIterator
public ProteinMatchesIterator(long[] keys, Identification identification, WaitingHandler waitingHandler, boolean displayProgress)Constructor.- Parameters:
keys
- the keys of the objectsidentification
- the identification where to get the matchesloadPs fromwaitingHandler
- the waiting handler allowing displaying progress and canceling the processdisplayProgress
- boolean indicating whether the progress of this method should be displayed on the waiting handler
-
-
Method Details
-
next
Returns the next match and updates the buffer. Null if the iterator is done iterating.- Returns:
- the next match
-