org.biojava.bio.structure.domain.pdp
Class Segment
java.lang.Object
org.biojava.bio.structure.domain.pdp.Segment
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Segment>
public class Segment
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Comparable<Segment>
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Segment
public Segment()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getFrom
public java.lang.Integer getFrom()
setFrom
public void setFrom(java.lang.Integer from)
getTo
public java.lang.Integer getTo()
setTo
public void setTo(java.lang.Integer to)
getScore
public double getScore()
setScore
public void setScore(double score)
compareTo
public int compareTo(Segment o)
- Specified by:
compareTo in interface java.lang.Comparable<Segment>