edu.ull.cgunay.plots
Class ErrorValue
java.lang.Object
|
+--java.util.Observable
|
+--edu.ull.cgunay.plots.Profilable
|
+--edu.ull.cgunay.plots.ErrorValue
- All Implemented Interfaces:
- Cloneable, Serializable
- public class ErrorValue
- extends Profilable
- implements Serializable
Simple encapsulation of a double value with minimum
and maximum error.
Created: Mon Nov 11 18:00:22 2002
Modified: $Date: 2002/12/17 00:58:53 $
- Version:
- v2.0, $Revision: 1.3 $ for this file.
- Author:
- Cengiz Gunay
- See Also:
- Serialized Form
|
Constructor Summary |
ErrorValue(double value,
double minValue,
double maxValue)
|
value
public double value
minValue
public double minValue
maxValue
public double maxValue
ErrorValue
public ErrorValue(double value,
double minValue,
double maxValue)
doubleValue
public double doubleValue()
- Description copied from class:
Profilable
- Return a representation if the entity as a
double value.
This is used for plotting a primitive value's profile.
For most entities conversion to such a simple
representation is not possible. In these cases calling this method
should result in a fatal error.
- Specified by:
doubleValue in class Profilable
- Returns:
- a
double value
toString
public String toString()
- Overrides:
toString in class Object