org.jfree.data.xy

Class XYInterval

public class XYInterval extends Object implements Serializable

An xy-interval. This class is used internally by the XYIntervalDataItem class.

Since: 1.0.3

Constructor Summary
XYInterval(double xLow, double xHigh, double y, double yLow, double yHigh)
Creates a new instance of XYInterval.
Method Summary
booleanequals(Object obj)
Tests this instance for equality with an arbitrary object.
doublegetXHigh()
Returns the upper bound of the x-interval.
doublegetXLow()
Returns the lower bound of the x-interval.
doublegetY()
Returns the y-value.
doublegetYHigh()
Returns the upper bound of the y-interval.
doublegetYLow()
Returns the lower bound of the y-interval.

Constructor Detail

XYInterval

public XYInterval(double xLow, double xHigh, double y, double yLow, double yHigh)
Creates a new instance of XYInterval.

Parameters: xLow the lower bound of the x-interval. xHigh the upper bound of the y-interval. y the y-value. yLow the lower bound of the y-interval. yHigh the upper bound of the y-interval.

Method Detail

equals

public boolean equals(Object obj)
Tests this instance for equality with an arbitrary object.

Parameters: obj the object (null permitted).

Returns: A boolean.

getXHigh

public double getXHigh()
Returns the upper bound of the x-interval.

Returns: The upper bound of the x-interval.

getXLow

public double getXLow()
Returns the lower bound of the x-interval.

Returns: The lower bound of the x-interval.

getY

public double getY()
Returns the y-value.

Returns: The y-value.

getYHigh

public double getYHigh()
Returns the upper bound of the y-interval.

Returns: The upper bound of the y-interval.

getYLow

public double getYLow()
Returns the lower bound of the y-interval.

Returns: The lower bound of the y-interval.