The Octet Molecular Representation Framework v0.8.2

net.sf.octet.util
Interface Measurement

All Known Implementing Classes:
BasicMeasurement

public interface Measurement

The scientific concept of a numerical measurement, an associated uncertainty, and units.

Author:
Richard Apodaca

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.
 

Method Detail

getValue

public java.lang.Number getValue()
Returns the value of this Measurement.

Returns:
the value of this Measurement

getUncertainty

public java.lang.Number getUncertainty()
Returns the uncertainty of this Measurement. This value is interpreted as plus- or minus- the value returned by getValue.

Returns:
the uncertainty of this Measurement

getUnits

public java.lang.String getUnits()
Returns the units of this Measurement.

Returns:
the usits of this Measurement

The Octet Molecular Representation Framework v0.8.2