|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.octet.util.BasicMeasurement
A default implementation of the Measurement interface.
| Constructor Summary | |
BasicMeasurement(double value,
double uncertainty,
java.lang.String units)
Constructs a fully functional BasicMeasurement from
value, uncertainty, and units. |
|
BasicMeasurement(java.lang.Double value,
java.lang.Double uncertainty,
java.lang.String units)
Constructs a fully functional BasicMeasurement from
value, uncertainty, and units. |
|
| Method Summary | |
java.lang.Number |
getUncertainty()
Returns the uncertainty of this Measurement. |
java.lang.String |
getUnits()
Returns the units of this Measurement. |
java.lang.Number |
getValue()
Returns the value of this Measurement. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BasicMeasurement(java.lang.Double value,
java.lang.Double uncertainty,
java.lang.String units)
BasicMeasurement from
value, uncertainty, and units.
value - the valueuncertainty - the uncertaintyunits - the units
public BasicMeasurement(double value,
double uncertainty,
java.lang.String units)
BasicMeasurement from
value, uncertainty, and units.
value - the valueuncertainty - the uncertaintyunits - the units| Method Detail |
public java.lang.Number getValue()
MeasurementMeasurement.
getValue in interface MeasurementMeasurementpublic java.lang.Number getUncertainty()
MeasurementMeasurement. This
value is interpreted as plus- or minus- the value returned by getValue.
getUncertainty in interface MeasurementMeasurementpublic java.lang.String getUnits()
MeasurementMeasurement.
getUnits in interface MeasurementMeasurement
|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||