public class IntermediatePeptideComparator extends Object implements Comparator<IntermediatePeptide>
IntermediatePeptide
s. These have to be
calculated beforehand.Constructor and Description |
---|
IntermediatePeptideComparator(boolean higherScoreBetter)
Creates the comparator with the given value for higherScoreBetter.
|
IntermediatePeptideComparator(PeptideScoring peptideScoring)
Creates the comparator and gets the value for higherScoreBetter from the
given
PeptideScoring . |
Modifier and Type | Method and Description |
---|---|
int |
compare(IntermediatePeptide o1,
IntermediatePeptide o2) |
int |
compareValues(Double score1,
Double score2)
Compares the values of two peptide scores.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public IntermediatePeptideComparator(boolean higherScoreBetter)
higherScoreBetter
- public IntermediatePeptideComparator(PeptideScoring peptideScoring)
PeptideScoring
.higherScoreBetter
- public int compare(IntermediatePeptide o1, IntermediatePeptide o2)
compare
in interface Comparator<IntermediatePeptide>
Copyright © 2015. All Rights Reserved.