package uk.ac.ebi.pride.cluster.ws.modules.cluster.model;

import java.util.ArrayList;
import java.util.List;

/**
 * Statistics
 *
 * @author Rui Wang
 * @version $Id$
 */
public class SpectrumSimilarityStatistics {
    // spectrum similarity to the consensus spectrum for the PSMs with the highest ratio peptide sequence in the cluster
    private final List<Float> highRatioPeptideSpectrumSimilarity = new ArrayList<Float>();

    // spectrum similarity for all the PSMs in the cluster
    private final List<Float> clusterSpectrumSimilarity = new ArrayList<Float>();

    public List<Float> getHighRatioPeptideSpectrumSimilarity() {
        return highRatioPeptideSpectrumSimilarity;
    }

    public void addHighRatioPeptideSpectrumSimilarity(Float deltaMz) {
        highRatioPeptideSpectrumSimilarity.add(deltaMz);
    }

    public List<Float> getClusterSpectrumSimilarity() {
        return clusterSpectrumSimilarity;
    }

    public void addClusterSpectrumSimilarity(Float deltaMz) {
        clusterSpectrumSimilarity.add(deltaMz);
    }
}

@@ -386,33 +386,35 @@
 pectrumSimilarit
-y
+ies
  = new ArrayList
@@ -538,17 +538,19 @@
 imilarit
-y
+ies
  = new A
@@ -620,33 +620,35 @@
 pectrumSimilarit
-y
+ies
 () %7B%0A        ret
@@ -676,33 +676,35 @@
 pectrumSimilarit
-y
+ies
 ;%0A    %7D%0A%0A    pub
@@ -800,33 +800,35 @@
 pectrumSimilarit
-y
+ies
 .add(deltaMz);%0A 
@@ -883,17 +883,19 @@
 imilarit
-y
+ies
 () %7B%0A   
@@ -930,17 +930,19 @@
 imilarit
-y
+ies
 ;%0A    %7D%0A
@@ -1036,17 +1036,19 @@
 imilarit
-y
+ies
 .add(del

change method names to be more consistent