|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.utgenome.gwt.utgb.client.bio.Interval
public class Interval
An interval in a genome sequence.
Constructor Summary | |
---|---|
Interval()
|
|
Interval(Interval other)
|
|
Interval(int start,
int end)
|
Method Summary | |
---|---|
void |
accept(OnGenomeDataVisitor visitor)
|
void |
adjustToOneOrigin()
|
void |
atomicSetStartAndEnd(int start,
int end)
|
int |
compareTo(Interval other)
|
boolean |
contains(int pos)
|
boolean |
contains(Interval other)
|
protected void |
correctInterval()
|
boolean |
follows(Interval other)
|
String |
getColor()
|
int |
getEnd()
Get the end position of the locus (start <= end) |
String |
getName()
|
int |
getStart()
Get the start position of the locus. |
boolean |
hasOverlap(Interval other)
|
Interval |
intersect(Interval other)
Return the intersected interval with the other |
boolean |
intersectsWith(Interval other)
|
boolean |
isAntiSense()
|
boolean |
isSense()
|
int |
length()
return the length of the data |
boolean |
precedes(Interval other)
|
void |
setEnd(int end)
|
void |
setStart(int start)
|
String |
toJSONArray()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Interval()
public Interval(int start, int end)
public Interval(Interval other)
Method Detail |
---|
public String getName()
getName
in interface OnGenome
public void adjustToOneOrigin()
public boolean isSense()
public boolean isAntiSense()
public String getColor()
public int getStart()
getStart
in interface OnGenome
public void setStart(int start)
public void atomicSetStartAndEnd(int start, int end)
protected void correctInterval()
public int getEnd()
getEnd
in interface OnGenome
public void setEnd(int end)
public int length()
OnGenome
length
in interface OnGenome
public boolean hasOverlap(Interval other)
public boolean intersectsWith(Interval other)
public Interval intersect(Interval other)
other
-
public boolean contains(int pos)
public boolean contains(Interval other)
public boolean precedes(Interval other)
public boolean follows(Interval other)
public void accept(OnGenomeDataVisitor visitor)
accept
in interface OnGenome
public int compareTo(Interval other)
compareTo
in interface Comparable<Interval>
public String toJSONArray()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |