gov.lbl.genome.common.features
Class Gap

java.lang.Object
  extended by gov.lbl.genome.common.features.ChromPosition
      extended by gov.lbl.genome.common.features.Gap

public class Gap
extends ChromPosition

Gap represents a gap in a DNA sequence.


Constructor Summary
Gap(java.lang.String inChromosome, long inCoordinate)
           
Gap(java.lang.String inSequence, java.lang.String inChromosome, long inCoordinate)
           
 
Method Summary
static java.lang.Object fromString(java.lang.String string)
          Restore a Gap object from a one-line string.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class gov.lbl.genome.common.features.ChromPosition
getChromosome, getCoordinate, getSequence
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Gap

public Gap(java.lang.String inChromosome,
           long inCoordinate)

Gap

public Gap(java.lang.String inSequence,
           java.lang.String inChromosome,
           long inCoordinate)
Method Detail

fromString

public static java.lang.Object fromString(java.lang.String string)
Restore a Gap object from a one-line string. This is a convenience method for use in serializing Gap objects through a web page.


toString

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

hashCode

public int hashCode()
Overrides:
hashCode in class ChromPosition