| java.lang.Object org.jfree.data.xy.YWithXInterval
YWithXInterval | public class YWithXInterval implements Serializable(Code) | | A y-value plus the bounds for the related x-interval. This curious
combination exists as an implementation detail, to fit into the structure
of the ComparableObjectSeries class. It would have been possible to
simply reuse the
YInterval class by assuming that the y-interval
in fact represents the x-interval, however I decided it was better to
duplicate some code in order to document the real intent.
since: 1.0.3 |
Constructor Summary | |
public | YWithXInterval(double y, double xLow, double xHigh) Creates a new instance of YWithXInterval .
Parameters: y - the y-value. Parameters: xLow - the lower bound of the x-interval. Parameters: xHigh - the upper bound of the x-interval. |
Method Summary | |
public boolean | equals(Object obj) Tests this instance for equality with an arbitrary object.
Parameters: obj - the object (null permitted). | public double | getXHigh() Returns the upper bound of the x-interval. | public double | getXLow() Returns the lower bound of the x-interval. | public double | getY() Returns the y-value. |
YWithXInterval | public YWithXInterval(double y, double xLow, double xHigh)(Code) | | Creates a new instance of YWithXInterval .
Parameters: y - the y-value. Parameters: xLow - the lower bound of the x-interval. Parameters: xHigh - the upper bound of the x-interval. |
equals | public boolean equals(Object obj)(Code) | | Tests this instance for equality with an arbitrary object.
Parameters: obj - the object (null permitted). A boolean. |
getXHigh | public double getXHigh()(Code) | | Returns the upper bound of the x-interval.
The upper bound of the x-interval. |
getXLow | public double getXLow()(Code) | | Returns the lower bound of the x-interval.
The lower bound of the x-interval. |
getY | public double getY()(Code) | | Returns the y-value.
The y-value. |
|
|