|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.cas.montecarlo.Break
public class Break
Each Break object represents a double strand break on a Chromosome object
Constructor Summary | |
---|---|
Break(Chromosome chrom,
long loc)
Constructs a Break object |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Compares the specified object with this break for equality. |
Chromosome |
getChromosome()
Returns the chromosome on which this double strand break occurs |
long |
getLocation()
Returns the location of this double strand break on the chromosome in which it resides. |
static void |
main(java.lang.String[] args)
|
java.lang.String |
toString()
Returns a String representation of this Break object in the form: "[name of chromosome]-[homologue of chromosome]:[location of the break]" |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Break(Chromosome chrom, long loc) throws java.lang.Exception
chrom
- the Chromosome object in which the double strand break
occursloc
- the location of the double strand break on chrom. Supposing chrom
is n base pairs long, valid values of loc are 1 to n-1. For example, a value
i for loc would represent a break between the (i-1)th and the ith base pairs
on chrom
java.lang.Exception
- if loc is not a valid location for a break on chromMethod Detail |
---|
public Chromosome getChromosome()
public long getLocation()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to be compared for equality with this break.
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |