|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectutil.bio.annotation.Coordinates
Base class for holding info about a genomic coordinate.
Constructor Summary | |
Coordinates(java.lang.String chromosome,
int start,
int stop)
|
Method Summary | |
int |
compareTo(java.lang.Object other)
Sorts by chromsome, start position, length (smallest to largest). |
java.lang.String |
getChromosome()
|
int |
getStart()
|
int |
getStop()
|
static Coordinates[] |
readBinary(java.io.File file)
Reads a binary Coordinate[] file. |
void |
setChromosome(java.lang.String chromosome)
|
void |
setStart(int start)
|
void |
setStop(int stop)
|
java.lang.String |
toString()
|
static boolean |
writeBinary(Coordinates[] c,
java.io.File file)
Writes a binary Coordinate[]. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Coordinates(java.lang.String chromosome, int start, int stop)
Method Detail |
public int compareTo(java.lang.Object other)
compareTo
in interface java.lang.Comparable
public java.lang.String toString()
public static boolean writeBinary(Coordinates[] c, java.io.File file)
public static Coordinates[] readBinary(java.io.File file)
public java.lang.String getChromosome()
public void setChromosome(java.lang.String chromosome)
public int getStart()
public void setStart(int start)
public int getStop()
public void setStop(int stop)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |