public class XYZDataItem extends java.lang.Object implements java.io.Serializable
(x, y, z) data item, which can be added to
a XYZSeries. Instances of this class are immutable.
| Constructor and Description |
|---|
XYZDataItem(double x,
double y,
double z)
Creates a new (immutable) instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Tests this instance for equality with an arbitrary object.
|
double |
getX()
Returns the x-value.
|
double |
getY()
Returns the y-value.
|
double |
getZ()
Returns the z-value.
|
int |
hashCode() |
public XYZDataItem(double x, double y, double z)
x - the x-value.y - the y-value.z - the z-value.public double getX()
public double getY()
public double getZ()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object (null permitted).public int hashCode()
hashCode in class java.lang.Object