Package algs12
Class Interval1D
java.lang.Object
algs12.Interval1D
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Comparator
<Interval1D> static final Comparator
<Interval1D> static final Comparator
<Interval1D> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(double x) boolean
intersects
(Interval1D that) double
left()
double
length()
static void
double
right()
toString()