com.jidesoft.interval
Class OpenInterval
java.lang.Object
com.jidesoft.interval.AbstractMutableInterval
com.jidesoft.interval.ClosedInterval
com.jidesoft.interval.OpenInterval
- All Implemented Interfaces:
- Interval, MutableInterval
public class OpenInterval
- extends ClosedInterval
An open interval is an interval that does not include its end points.
Constructor Summary |
OpenInterval(double start,
double extent)
|
Method Summary |
boolean |
contains(double value)
Tests if this interval contains the specified value? |
OpenInterval
public OpenInterval(double start,
double extent)
contains
public boolean contains(double value)
- Description copied from interface:
Interval
- Tests if this interval contains the specified value?
- Specified by:
contains
in interface Interval
- Overrides:
contains
in class ClosedInterval
- Parameters:
value
- the value to test
- Returns:
- true if the interval contains the value, false otherwise