JAL-2446 method isNonPositional() added
[jalview.git] / src / jalview / datamodel / SequenceFeature.java
index c330df9..b61dd71 100755 (executable)
@@ -553,4 +553,14 @@ public class SequenceFeature implements FeatureLocationI
     }
     return false;
   }
+
+  /**
+   * Answers true if the sequence has zero start and end position
+   * 
+   * @return
+   */
+  public boolean isNonPositional()
+  {
+    return begin == 0 && end == 0;
+  }
 }