|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot2.IndicatedRow
public class IndicatedRow
Represents a row from a dataset in relation to a reference position, by aggregating a row index and the distance from the point.
Constructor Summary | |
---|---|
IndicatedRow(long index,
double distance)
Constructor. |
Method Summary | |
---|---|
double |
getDistance()
Returns the distance from the reference position. |
long |
getIndex()
Returns the row index. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IndicatedRow(long index, double distance)
index
- row indexdistance
- distance from reference positionMethod Detail |
---|
public long getIndex()
public double getDistance()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |