Merge branch 'develop' into features/r2_11_2_alphafold/JAL-629
[jalview.git] / src / jalview / datamodel / ContactRange.java
index 0fb71cf..5de8b04 100644 (file)
@@ -19,6 +19,8 @@ public class ContactRange
 
   int from_column, to_column;
 
+  private double mean;
+
   /**
    * update the bean with given values
    * 
@@ -30,7 +32,7 @@ public class ContactRange
    * @param max
    */
   public void update(int from_column, int to_column, int minPos,
-          double min, int maxPos, double max)
+          double min, int maxPos, double max, double mean)
   {
     this.from_column = from_column;
     this.to_column = to_column;
@@ -38,6 +40,7 @@ public class ContactRange
     this.min = min;
     this.maxPos = maxPos;
     this.max = max;
+    this.mean = mean;
   }
 
   /**
@@ -109,6 +112,23 @@ public class ContactRange
   }
 
   /**
+   * @return the mean
+   */
+  public double getMean()
+  {
+    return mean;
+  }
+
+  /**
+   * @param mean
+   *          the mean to set
+   */
+  public void setMean(double mean)
+  {
+    this.mean = mean;
+  }
+
+  /**
    * @return the from_column
    */
   public int getFrom_column()