JIDE 3.5.15

com.jidesoft.interval
Class OpenInterval

java.lang.Object
  extended by com.jidesoft.interval.AbstractMutableInterval
      extended by com.jidesoft.interval.ClosedInterval
          extended by 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?
 
Methods inherited from class com.jidesoft.interval.ClosedInterval
getEnd, getExtent, getStart, isDegenerate, overlaps, setEnd, setExtent, setStart, setValue, toString
 
Methods inherited from class com.jidesoft.interval.AbstractMutableInterval
addIntervalListener, addWeakIntervalListener, notifyIntervalChanged, removeIntervalListener, removeIntervalListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OpenInterval

public OpenInterval(double start,
                    double extent)
Method Detail

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

JIDE 3.5.15