public class Interval extends java.lang.Object implements IntervalScale<Interval>
Constructor and Description |
---|
Interval() |
Interval(Interval interval) |
Interval(long from,
long to) |
Interval(long from,
long to,
int strand) |
Modifier and Type | Method and Description |
---|---|
long |
borderDist(long x) |
int |
compareTo(Interval interval) |
boolean |
contains(Interval I) |
boolean |
containsValue(long x) |
long |
distance(long x) |
long |
epiprodistance(Interval interval) |
boolean |
equals(Interval obj) |
int |
from() |
int |
getCenter() |
int |
getGFFLength() |
int |
getLength() |
Interval |
intersection(Interval interval) |
boolean |
intersects(Interval I) |
boolean |
intersects(int start,
int end) |
int |
to() |
java.lang.String |
toString() |
Interval |
union(Interval interval) |
public Interval()
public Interval(long from, long to)
public Interval(long from, long to, int strand)
public Interval(Interval interval)
public int getLength()
public int getGFFLength()
public boolean containsValue(long x)
x
- public boolean contains(Interval I)
I
- public boolean intersects(Interval I)
I
- public boolean intersects(int start, int end)
I
- public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(Interval obj)
public int compareTo(Interval interval)
compareTo
in interface java.lang.Comparable<Interval>
public long borderDist(long x)
x
- public long distance(long x)
x
- public long epiprodistance(Interval interval)
public int from()
from
in interface IntervalScale<Interval>
public int to()
to
in interface IntervalScale<Interval>
public int getCenter()
Copyright © 2010-2014 Pacific Biosciences. All Rights Reserved.