compbio.data.sequence
Class Range

java.lang.Object
  extended by compbio.data.sequence.Range
All Implemented Interfaces:
Comparable<Range>

public class Range
extends Object
implements Comparable<Range>


Field Summary
 int from
           
 int to
           
 
Constructor Summary
Range(int from, int to)
           
Range(String[] twoElementAr)
           
 
Method Summary
 int compareTo(Range o)
           
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

from

public final int from

to

public final int to
Constructor Detail

Range

public Range(int from,
             int to)

Range

public Range(String[] twoElementAr)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

compareTo

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