Package org.jfree.data.xy
Class YInterval
- java.lang.Object
-
- org.jfree.data.xy.YInterval
-
- All Implemented Interfaces:
java.io.Serializable
public class YInterval extends java.lang.Object implements java.io.SerializableA y-interval. This class is used internally by theYIntervalDataItemclass.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description YInterval(double y, double yLow, double yHigh)Creates a new instance ofYInterval.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Tests this instance for equality with an arbitrary object.doublegetY()Returns the y-value.doublegetYHigh()Returns the upper bound of the y-interval.doublegetYLow()Returns the lower bound of the y-interval.
-
-
-
Method Detail
-
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
public boolean equals(java.lang.Object obj)
Tests this instance for equality with an arbitrary object.- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- the object (nullpermitted).- Returns:
- A boolean.
-
-