package org.biojava.dasobert.feature;
-/** a Histogram segment is an extension of the standard Segment with a score
+/**
+ * a Histogram segment is an extension of the standard Segment with a score
*
* @author Andreas Prlic
- *
- */
-public class HistogramSegment extends AbstractSegment {
+ *
+ */
+public class HistogramSegment extends AbstractSegment
+{
+
+ double score;
+
+ public HistogramSegment()
+ {
+ super();
+
+ }
+
+ public double getScore()
+ {
+ return score;
+ }
+
+ public void setScore(double score)
+ {
+ this.score = score;
+ }
+
+ public Object clone()
+ {
- double score;
-
- public HistogramSegment() {
- super();
-
- }
+ Segment s = new HistogramSegment();
+ s.setStart(start);
+ s.setEnd(end);
+ s.setName(name);
+ s.setColor(color);
+ s.setTxtColor(txtColor);
+ s.setNote(note);
+ return s;
- public double getScore() {
- return score;
- }
+ }
- public void setScore(double score) {
- this.score = score;
- }
-
-
- public Object clone(){
-
- Segment s = new HistogramSegment();
- s.setStart(start);
- s.setEnd(end);
- s.setName(name);
- s.setColor(color);
- s.setTxtColor(txtColor);
- s.setNote(note);
- return s;
-
- }
-
-
-
-
}