org.biojava.bio.structure.domain.pdp
Class Segment

java.lang.Object
  extended by org.biojava.bio.structure.domain.pdp.Segment
All Implemented Interfaces:
Serializable, Comparable<Segment>

public class Segment
extends Object
implements Serializable, Comparable<Segment>

See Also:
Serialized Form

Constructor Summary
Segment()
           
 
Method Summary
 int compareTo(Segment o)
           
 Integer getFrom()
           
 double getScore()
           
 Integer getTo()
           
 void setFrom(Integer from)
           
 void setScore(double score)
           
 void setTo(Integer to)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Segment

public Segment()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getFrom

public Integer getFrom()

setFrom

public void setFrom(Integer from)

getTo

public Integer getTo()

setTo

public void setTo(Integer to)

getScore

public double getScore()

setScore

public void setScore(double score)

compareTo

public int compareTo(Segment o)
Specified by:
compareTo in interface Comparable<Segment>