org.blackbox.test
Class SimpleInterval

java.lang.Object
  extended by org.blackbox.test.SimpleInterval
All Implemented Interfaces:
Interval

public class SimpleInterval
extends java.lang.Object
implements Interval

Convenient class for debuging / dev.


Constructor Summary
SimpleInterval()
           
SimpleInterval(int frame)
           
SimpleInterval(Interval parent)
           
SimpleInterval(int from, int to)
           
 
Method Summary
 int getFrame()
          Frame of this interval.
 int getLength()
          Retourne la taille de cet intervalle.
 int getMax()
          Retourne la plus grande des deux coordonnees.
 int getMin()
          Retourne la plus petite des deux coordonnees.
 boolean getStrand()
          Strand holding this interval.
 boolean isFramed()
          Return true if this interval is framed.
 java.lang.String seqString()
          String representation for this interval.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleInterval

public SimpleInterval(Interval parent)

SimpleInterval

public SimpleInterval(int from,
                      int to)

SimpleInterval

public SimpleInterval()

SimpleInterval

public SimpleInterval(int frame)
Method Detail

getMax

public int getMax()
Description copied from interface: Interval
Retourne la plus grande des deux coordonnees.

Specified by:
getMax in interface Interval

getMin

public int getMin()
Description copied from interface: Interval
Retourne la plus petite des deux coordonnees.

Specified by:
getMin in interface Interval

getLength

public int getLength()
Description copied from interface: Interval
Retourne la taille de cet intervalle.

Specified by:
getLength in interface Interval

seqString

public java.lang.String seqString()
Description copied from interface: Interval
String representation for this interval.

Specified by:
seqString in interface Interval
Returns:
the string representation.

getFrame

public int getFrame()
Description copied from interface: Interval
Frame of this interval.

Specified by:
getFrame in interface Interval
Returns:
the frame or 0.

getStrand

public boolean getStrand()
Description copied from interface: Interval
Strand holding this interval.

Specified by:
getStrand in interface Interval
Returns:
the frame or 0.

isFramed

public boolean isFramed()
Description copied from interface: Interval
Return true if this interval is framed.

Specified by:
isFramed in interface Interval
Returns:
true if this interval is framed.