gov.lbl.genome.common.features
Class SuperContig

java.lang.Object
  extended by gov.lbl.genome.common.features.ChromSegment
      extended by gov.lbl.genome.common.features.SuperContig
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable

public class SuperContig
extends ChromSegment

SuperContig is a row of data retrieved from one of the chr%_short tables.


Constructor Summary
SuperContig(int inSuperContigNum, java.lang.String inChromosome, long inStart, long inEnd)
          SuperContig
 
Method Summary
 int getSuperContigNum()
          get SuperContig Number
 java.lang.String toString()
          return XML formatted string
 java.lang.String toString(long offset)
          return XML formatted string
 
Methods inherited from class gov.lbl.genome.common.features.ChromSegment
add, cloneSegment, compareTo, contains, contains, contains, getChromName, getChromosome, getChromosome, getEnd, getName, getPos, getRealEnd, getStart, hashCode, intersect, isRealChrom, parsePos, parseSpan, positionFormat, setChromosome, setChromosome, setEnd, setRealChrom, setStart, touches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SuperContig

public SuperContig(int inSuperContigNum,
                   java.lang.String inChromosome,
                   long inStart,
                   long inEnd)
SuperContig

Parameters:
inSuperContigNum - int
inChromosome - String
inStart - long
inEnd - long
Method Detail

getSuperContigNum

public int getSuperContigNum()
get SuperContig Number

Returns:
int

toString

public java.lang.String toString()
return XML formatted string

Overrides:
toString in class ChromSegment
Returns:
String

toString

public java.lang.String toString(long offset)
return XML formatted string

Overrides:
toString in class ChromSegment
Parameters:
offset - long
Returns:
String