X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2Ffeatures%2FFeatureMatcher.java;h=f844141de5a5f338119504f82abc9b25bd181a33;hb=7810a4a86cf5c344971dc1c834ac2227192badc2;hp=50dd1022954008c4afeb8014cb11afd92c79ae4f;hpb=007f2c0fa4563baa95d43da08b5e4edc99ddc9a0;p=jalview.git diff --git a/src/jalview/datamodel/features/FeatureMatcher.java b/src/jalview/datamodel/features/FeatureMatcher.java index 50dd102..f844141 100644 --- a/src/jalview/datamodel/features/FeatureMatcher.java +++ b/src/jalview/datamodel/features/FeatureMatcher.java @@ -356,6 +356,12 @@ public class FeatureMatcher implements FeatureMatcherI return byScore; } + @Override + public boolean isByAttribute() + { + return getAttribute() != null; + } + /** * {@inheritDoc} The output of this method should be parseable by method * fromString to restore the original object.