Class Segment

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

public class Segment extends Object implements Serializable, Comparable<Segment>
See Also:
  • Constructor Details

    • Segment

      public Segment()
  • Method Details

    • 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>