org.blackbox.shell
Class BBX_SetOfInterval

java.lang.Object
  extended by org.blackbox.model.Hypothesis
      extended by org.blackbox.hypothesis.HSetOf
          extended by org.blackbox.hypothesis.HSetOfInterval
              extended by org.blackbox.shell.BBX_SetOfInterval
All Implemented Interfaces:
java.lang.Comparable, Interval, ObservableEntity

public class BBX_SetOfInterval
extends HSetOfInterval


Field Summary
 
Fields inherited from class org.blackbox.model.Hypothesis
curEvent
 
Constructor Summary
BBX_SetOfInterval(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.
 java.util.List getList()
           
 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 setList(java.util.List lst)
           
 void setStrand(boolean b)
           
 
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, toString, wait, wait, wait
 

Constructor Detail

BBX_SetOfInterval

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

getList

public java.util.List getList()
Specified by:
getList in class HSetOf
Returns:
Returns the file.

setList

public void setList(java.util.List lst)
Specified by:
setList in class HSetOf

getMax

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


getMin

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


getLength

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


seqString

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

Returns:
the string representation.

getFrame

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

Returns:
the frame or 0.

getStrand

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

Returns:
the frame or 0.

setStrand

public void setStrand(boolean b)

isFramed

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

Returns:
true if this interval is framed.

compareTo

public int compareTo(java.lang.Object o)

clone

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