Class Slot
- java.lang.Object
-
- net.sourceforge.plantuml.ugraphic.comp.Slot
-
- All Implemented Interfaces:
Comparable<Slot>
public class Slot extends Object implements Comparable<Slot>
-
-
Constructor Summary
Constructors Constructor Description Slot(double start, double end)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
String
toString()
-
-
-
Method Detail
-
getStart
public double getStart()
-
getEnd
public double getEnd()
-
size
public double size()
-
contains
public boolean contains(double v)
-
intersect
public boolean intersect(Slot other)
-
intersect
public Slot intersect(double otherStart, double otherEnd)
-
compareTo
public int compareTo(Slot other)
- Specified by:
compareTo
in interfaceComparable<Slot>
-
-