|
||||||||||
| 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(GenomeRangeVisitor 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(GenomeRange 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 GenomeRangepublic void adjustToOneOrigin()
public boolean isSense()
isSense in interface GenomeRangepublic boolean isAntiSense()
isAntiSense in interface GenomeRangepublic String getColor()
public int getStart()
getStart in interface GenomeRangepublic void setStart(int start)
public void atomicSetStartAndEnd(int start,
int end)
protected void correctInterval()
public int getEnd()
getEnd in interface GenomeRangepublic void setEnd(int end)
public int length()
GenomeRange
length in interface GenomeRangepublic boolean hasOverlap(GenomeRange 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(GenomeRangeVisitor visitor)
accept in interface GenomeRangepublic 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 | |||||||||