total annotation score is a double for maximum precision.
[jalview.git] / src / jalview / schemabinding / version2 / Annotation.java
index 9eb6907..021fa8b 100755 (executable)
@@ -98,7 +98,7 @@ public class Annotation implements java.io.Serializable {
     /**\r
      * Field _score\r
      */\r
-    private float _score;\r
+    private double _score;\r
 \r
     /**\r
      * keeps track of state for field: _score\r
@@ -361,13 +361,13 @@ public class Annotation implements java.io.Serializable {
     /**\r
      * Returns the value of field 'score'.\r
      * \r
-     * @return float\r
+     * @return double\r
      * @return the value of field 'score'.\r
      */\r
-    public float getScore()\r
+    public double getScore()\r
     {\r
         return this._score;\r
-    } //-- float getScore() \r
+    } //-- double getScore() \r
 \r
     /**\r
      * Returns the value of field 'scoreOnly'.\r
@@ -657,11 +657,11 @@ public class Annotation implements java.io.Serializable {
      * \r
      * @param score the value of field 'score'.\r
      */\r
-    public void setScore(float score)\r
+    public void setScore(double score)\r
     {\r
         this._score = score;\r
         this._has_score = true;\r
-    } //-- void setScore(float) \r
+    } //-- void setScore(double) \r
 \r
     /**\r
      * Sets the value of field 'scoreOnly'.\r