|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.dmi.jog.Measurement
A single measurement.
Missing values are represented by Float.NaN
.
Units for the measurement are optional and are not used
in the core framework.
Field Summary | |
String |
NAME
Measurement name. |
Date |
T
Measurement time. |
float |
V
Measurement value. |
String |
VUNIT
Measurement value unit. |
float |
X
Measurement longitude. |
float |
Y
Measurement latitude. |
float |
Z
Measurement vertical position. |
String |
ZUNIT
Measurement vertical position unit. |
Method Summary | |
boolean |
equals(Object o)
Compares this Measurement to the specified Object. |
static Measurement |
getInstance(float x,
float y,
float z,
Date t,
float v)
Returns a Measurement representation of the arguments.
|
static Measurement |
getInstance(String name,
String vunit,
String zunit,
float x,
float y,
float z,
Date t,
float v)
Returns a Measurement representation of the arguments. |
int |
hashCode()
|
String |
toString()
Returns a String representation of this Measurement . |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public final String NAME
public final Date T
public final float V
public final String VUNIT
public final float X
public final float Y
public final float Z
public final String ZUNIT
Method Detail |
public boolean equals(Object o)
Measurement
to the specified Object. The result is
true if and only if the argument is not null and is a Measurement
containing the same data as this Measurement
.
o
- the Object to be compared for equality with this Measurement
.
public static Measurement getInstance(float x, float y, float z, Date t, float v)
Measurement
representation of the arguments.
Name and Unit fields are left blank.
x
- longitude of this Measurement
.y
- latitude of this Measurement
.z
- vertical position of this Measurement
.t
- date of this Measurement
.v
- value of this Measurement
.
Measurement
representation of the arguments.public static Measurement getInstance(String name, String vunit, String zunit, float x, float y, float z, Date t, float v)
Measurement
representation of the arguments.
name
- descriptive name of this Measurement
.vunit
- name of the units this Measurement
is measured in.zunit
- name of the vertical units used in this Measurement
.x
- longitude of this Measurement
.y
- latitude of this Measurement
.z
- vertical position of this Measurement
.t
- date of this Measurement
.v
- value of this Measurement
.
Measurement
representation of the arguments.public int hashCode()
public String toString()
String
representation of this Measurement
.
String
representation of this Measurement
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |