java.lang.Object
org.jfree.data.xy.YInterval
- All Implemented Interfaces:
Serializable
A y-interval. This class is used internally by the
YIntervalDataItem
class.- See Also:
-
Constructor Summary
ConstructorDescriptionYInterval
(double y, double yLow, double yHigh) Creates a new instance ofYInterval
. -
Method Summary
-
Constructor Details
-
YInterval
public YInterval(double y, double yLow, double yHigh) Creates a new instance ofYInterval
.- Parameters:
y
- the y-value.yLow
- the lower bound of the y-interval.yHigh
- the upper bound of the y-interval.
-
-
Method Details
-
getY
public double getY()Returns the y-value.- Returns:
- The y-value.
-
getYLow
public double getYLow()Returns the lower bound of the y-interval.- Returns:
- The lower bound of the y-interval.
-
getYHigh
public double getYHigh()Returns the upper bound of the y-interval.- Returns:
- The upper bound of the y-interval.
-
equals
Tests this instance for equality with an arbitrary object.
-