X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2Ffeatures%2FSequenceFeaturesI.java;h=58beca25ffaef0422f6d60ff68bf8f8d7ba806b0;hb=8eaa775e59bf928f8899f9ada5c9811200c2853a;hp=ed966e7e5d64b32a71dd9ea46aaaefb4464df78e;hpb=87a85be7fc7678455c298287349b03fdd12fd3ad;p=jalview.git diff --git a/src/jalview/datamodel/features/SequenceFeaturesI.java b/src/jalview/datamodel/features/SequenceFeaturesI.java index ed966e7..58beca2 100644 --- a/src/jalview/datamodel/features/SequenceFeaturesI.java +++ b/src/jalview/datamodel/features/SequenceFeaturesI.java @@ -33,8 +33,12 @@ public interface SequenceFeaturesI String... type); /** - * Answers a list of all features stored, optionally restricted to specified - * types, in no particular guaranteed order + * Answers a list of all features stored, in no particular guaranteed order. + * Positional features may optionally be restricted to specified types, but + * all non-positional features (if any) are always returned. + *
+ * To filter non-positional features by type, use
+ * getNonPositionalFeatures(type).
*
* @param type
* @return
@@ -42,6 +46,22 @@ public interface SequenceFeaturesI
List