| java.lang.Object com.technoetic.xplanner.util.Interval
Interval | public class Interval implements Serializable,Comparable(Code) | | The half-open interval [low, high) inclusive on the low end. This class is derived
from the Interval class developed at limegroup.org
|
Constructor Summary | |
public | Interval(long low, long high) | public | Interval(long singleton) |
Interval | public Interval(long low, long high)(Code) | | |
Interval | public Interval(long singleton)(Code) | | |
adjacent | public boolean adjacent(Interval other)(Code) | | True if this and other are adjacent, i.e. the high end of one equals the
low end of the other.
|
compareTo | public int compareTo(Object o)(Code) | | Compares this to another interval by the 'low' element of the interval.
If the low elements are the same, then the high element is compared.
|
getHigh | public long getHigh()(Code) | | |
getLow | public long getLow()(Code) | | |
overlaps | public boolean overlaps(Interval other)(Code) | | True if this and other overlap.
|
|
|