edu.mssm.crover.ssedit
Class SSSequenceRange

java.lang.Object
  |
  +--edu.mssm.crover.ssedit.SSSequenceRange
All Implemented Interfaces:
SequenceRange

public class SSSequenceRange
extends java.lang.Object
implements SequenceRange

Interface to the limits of a range of residues. Abstract the range from the various representations it can be embedded in.

See Also:
(for range stored in secondary structure annotations), (for range stored in trans-membrane annotations)

Constructor Summary
SSSequenceRange(SecondaryStructure_Annotation ssa, int index)
           
 
Method Summary
 int getEnd()
          Get the index of the last residue of the range.
 int getStart()
          Get the index of the first residue of the range.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSSequenceRange

public SSSequenceRange(SecondaryStructure_Annotation ssa,
                       int index)
Method Detail

getStart

public int getStart()
Get the index of the first residue of the range.

Specified by:
getStart in interface SequenceRange
Returns:
Index of the first residue of the range, starts at zero.

getEnd

public int getEnd()
Get the index of the last residue of the range.

Specified by:
getEnd in interface SequenceRange
Returns:
Index of the last residue of the range, starts at zero.


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.