org.blackbox.test
Class SimpleHInterval

java.lang.Object
  extended by org.blackbox.model.Hypothesis
      extended by org.blackbox.test.SimpleHInterval
All Implemented Interfaces:
java.lang.Comparable, Interval, ObservableEntity

public class SimpleHInterval
extends Hypothesis
implements Interval, java.lang.Comparable

Convenient class for debuging / dev.


Field Summary
 
Fields inherited from class org.blackbox.model.Hypothesis
curEvent
 
Constructor Summary
SimpleHInterval(java.lang.Object knowledge, Domain home, KnowledgeSource creator)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(java.lang.Object o)
           
 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.
 void setEnableFrame(boolean f)
           
 java.lang.String toString()
           
 
Methods inherited from class org.blackbox.model.Hypothesis
addObserver, gainFocus, getDomainOrigin, getKnowledge, getKsCreator, loseFocus, notifyObservers, removeObserver, setDomainOrigin, setKnowledge, setKsCreator
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleHInterval

public SimpleHInterval(java.lang.Object knowledge,
                       Domain home,
                       KnowledgeSource creator)
Method Detail

setEnableFrame

public void setEnableFrame(boolean f)

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.

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

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.

toString

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

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.

clone

public java.lang.Object clone()
Specified by:
clone in class Hypothesis