|
Header
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.data.xy.YWithXInterval
public class YWithXInterval
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.
Constructor Summary | |
---|---|
YWithXInterval(double y,
double xLow,
double xHigh)
Creates a new instance of YWithXInterval . |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Tests this instance for equality with an arbitrary object. |
double |
getXHigh()
Returns the upper bound of the x-interval. |
double |
getXLow()
Returns the lower bound of the x-interval. |
double |
getY()
Returns the y-value. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public YWithXInterval(double y, double xLow, double xHigh)
YWithXInterval
.
y
- the y-value.xLow
- the lower bound of the x-interval.xHigh
- the upper bound of the x-interval.Method Detail |
---|
public double getY()
public double getXLow()
public double getXHigh()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object (null
permitted).
|
Footer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |