1 package jalview.datamodel;
3 public class Profiles implements ProfilesI
6 private ProfileI[] profiles;
8 public Profiles(ProfileI[] p)
14 * Returns the profile for the given column, or null if none found
19 public ProfileI get(int col)
21 return profiles != null && col >= 0 && col < profiles.length ? profiles[col]
26 * Returns the first column (base 0) covered by the profiles
29 public int getStartColumn()
35 * Returns the last column (base 0) covered by the profiles
38 public int getEndColumn()
40 return profiles == null ? 0 : profiles.length - 1;