package jalview.datamodel;
+import java.util.BitSet;
+
public interface ContactMatrixI
{
int getWidth();
int getHeight();
+
+ default boolean hasGroups() {
+ return false;
+ }
+ default BitSet getGroupsFor(int column) {
+ BitSet colbitset = new BitSet();
+ colbitset.set(column);
+ return colbitset;
+ }
}