import java.util.ArrayList;
import java.util.Arrays;
import java.util.BitSet;
+import java.util.Collection;
import java.util.Collections;
import java.util.Enumeration;
import java.util.HashMap;
}
Map<Object, ContactMatrixI> contactmaps = new HashMap<>();
+
+ @Override
+ public Collection<ContactMatrixI> getContactMaps()
+ {
+ if (contactmaps != null && contactmaps.size() > 0)
+ {
+ return contactmaps.values();
+ }
+ return Collections.EMPTY_LIST;
+ }
+
@Override
public ContactListI getContactListFor(AlignmentAnnotation _aa, int column)
{
*/
package jalview.datamodel;
+import java.util.Collection;
import java.util.Hashtable;
import java.util.List;
import java.util.Map;
ContactListI getContactListFor(AlignmentAnnotation _aa, int column);
AlignmentAnnotation addContactList(ContactMatrixI cm);
+
+ Collection<ContactMatrixI> getContactMaps();
}