/** * This class holds U_residues as objects. */ public class U_residue{ protected int start, stopp; /** * Constructor that establishes the data for this U_residue * via its parameters * @param s1 the startpoint of this U_residue * @param s2 the endpoint of this U_residue */ public U_residue(int s1, int s2){ start = s1; stopp = s2; } /** Typical method to get the startpoint * @return startpoint */ public int getStart(){ return start; } /** Typical method to get the endpoint * @return endpoint */ public int getStop(){ return stopp; } }