com.jidesoft.interval
Class SimpleBoundedInterval
java.lang.Object
com.jidesoft.interval.AbstractMutableInterval
com.jidesoft.interval.ClosedInterval
com.jidesoft.interval.SimpleBoundedInterval
- All Implemented Interfaces:
- BoundedInterval, Interval, MutableBoundedInterval, MutableInterval
public class SimpleBoundedInterval
- extends ClosedInterval
- implements MutableBoundedInterval
Default data model for bounded interval.
Methods inherited from class com.jidesoft.interval.ClosedInterval |
contains, getEnd, getExtent, getStart, isDegenerate, overlaps, setEnd, setExtent, setStart, setValue, toString |
SimpleBoundedInterval
public SimpleBoundedInterval(double start,
double extent,
double minimum,
double maximum)
SimpleBoundedInterval
public SimpleBoundedInterval(double start,
double minimum,
double maximum)
setMinimum
public void setMinimum(double minimum)
- Specified by:
setMinimum
in interface MutableBoundedInterval
setMaximum
public void setMaximum(double maximum)
- Specified by:
setMaximum
in interface MutableBoundedInterval
getMinimum
public double getMinimum()
- Specified by:
getMinimum
in interface BoundedInterval
getMaximum
public double getMaximum()
- Specified by:
getMaximum
in interface BoundedInterval
setMinMax
public void setMinMax(double min,
double max)
- Specified by:
setMinMax
in interface MutableBoundedInterval
setMinimumExtent
public void setMinimumExtent(double minimumExtent)
- Specified by:
setMinimumExtent
in interface MutableBoundedInterval
setMaximumExtent
public void setMaximumExtent(double maximumExtent)
- Specified by:
setMaximumExtent
in interface MutableBoundedInterval
setMinMax
public void setMinMax(double min,
double max,
double minExtent,
double maxExtent)
- Specified by:
setMinMax
in interface MutableBoundedInterval
getMinimumExtent
public double getMinimumExtent()
- Specified by:
getMinimumExtent
in interface BoundedInterval
getMaximumExtent
public double getMaximumExtent()
- Specified by:
getMaximumExtent
in interface BoundedInterval