jas.util
Class DoubleWithError
java.lang.Object
|
+--jas.util.DoubleWithError
- public class DoubleWithError
- extends java.lang.Object
A class that encapsulates a value and its error.
Primarily for use with ScientificFormat
- See Also:
ScientificFormat
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
plusorminus
public static final java.lang.String plusorminus
DoubleWithError
public DoubleWithError(double value,
double error)
setError
public void setError(double error)
getError
public double getError()
setValue
public void setValue(double value)
getValue
public double getValue()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object