1 package jalview.datamodel;
3 public interface ContactListProviderI
8 * @return position index for this contact List (usually sequence position or
14 * dimension of list where getContactAt(column<getContactHeight()) may return
19 int getContactHeight();
22 * get a value representing contact at column for this site
25 * @return Double.NaN or a contact strength for this site
27 double getContactAt(int column);
31 * Return positions in local reference corresponding to cStart and cEnd in matrix data. Positions are base 1 column indices for sequence associated matrices.
34 * @return int[] { start, end (inclusive) for each contiguous segment}
36 default int[] getMappedPositionsFor(int cStart, int cEnd) {
37 return new int[] { cStart, cEnd};