public class YWithXInterval extends java.lang.Object implements java.io.Serializable
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 and Description |
|---|
YWithXInterval(double y,
double xLow,
double xHigh)
Creates a new instance of
YWithXInterval. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.public double getY()
public double getXLow()
public double getXHigh()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object (null permitted).