org.biojava3.ronn
Class Jronn.Range

java.lang.Object
  extended by org.biojava3.ronn.Jronn.Range
Enclosing class:
Jronn

public static class Jronn.Range
extends java.lang.Object

Holder for the ranges, contain pointers to starting and ending position on the sequence which comprises a disordered region. Immutable.

Author:
pvtroshin

Field Summary
 int from
          Range starting position counts from 1 (the first position on the sequence is 1)
 float score
           
 int to
          The range ending position includes the last residue.
 
Constructor Summary
Jronn.Range(int from, int to, float score)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

from

public final int from
Range starting position counts from 1 (the first position on the sequence is 1)


to

public final int to
The range ending position includes the last residue.


score

public final float score
Constructor Detail

Jronn.Range

public Jronn.Range(int from,
                   int to,
                   float score)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object