Constructor and Description |
---|
Slot(double start,
double end) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Slot other) |
boolean |
contains(double v) |
double |
getEnd() |
double |
getStart() |
Slot |
intersect(double otherStart,
double otherEnd) |
boolean |
intersect(Slot other) |
Slot |
merge(Slot other) |
double |
size() |
java.lang.String |
toString() |
public java.lang.String toString()
toString
in class java.lang.Object
public double getStart()
public double getEnd()
public double size()
public boolean contains(double v)
public boolean intersect(Slot other)
public Slot intersect(double otherStart, double otherEnd)