public SequenceFeature()\r
{}\r
\r
- public SequenceFeature(String type, String desc, String status, int begin, int end)\r
+ public SequenceFeature(String type,\r
+ String desc,\r
+ String status,\r
+ int begin, int end,\r
+ String featureGroup)\r
{\r
this.type = type;\r
this.description = desc;\r
this.position = begin;\r
this.begin = begin;\r
this.end = end;\r
+ this.featureGroup = featureGroup;\r
+ }\r
+\r
+ public boolean equals(SequenceFeature sf)\r
+ {\r
+ if(begin != sf.begin\r
+ || end != sf.end)\r
+ return false;\r
+\r
+\r
+ if(!(type+description+status).equals\r
+ (sf.type+sf.description+sf.status))\r
+ return false;\r
+\r
+ return true;\r
}\r
\r
+\r
public int getPosition()\r
{\r
return position;\r