Package hec.data
Class ParamDouble
java.lang.Object
java.lang.Number
mil.army.usace.hec.data.ParamDouble
hec.data.ParamDouble
- All Implemented Interfaces:
Serializable,Cloneable
@Deprecated
public class ParamDouble
extends mil.army.usace.hec.data.ParamDouble
implements Cloneable
Deprecated.
The ParamDouble class acts as a simple wrapper around a double primitive. This class provided the ability to add meaning
to a double primitive by associating it with a certain Parameter, such as "ELEVATION". This allows the appropriate units
type to retrieved to represent the double value in any unit system the Parameter supports.
- Since:
- January 23, 2001
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.static final intDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Simple constructor that creates a new ParamDouble object with a UNDEFINED double value and a null parameterParamDouble(double val, int paramID) Deprecated.Creates a new ParamDouble object with the given double value and parameter value.ParamDouble(double value, int paramID, int unitSys) Deprecated.ParamDouble(double value, int paramID, int unitSys, int precision) Deprecated.ParamDouble(mil.army.usace.hec.data.ParamDouble other) Deprecated. -
Method Summary
Methods inherited from class mil.army.usace.hec.data.ParamDouble
convertToUnitSystem, convertUnits, doubleValue, equals, findPrecision, floatValue, getParameterId, getPrecision, getUnitSystem, getValue, hashCode, intValue, isPrecisionSet, longValue, scaleValue, setParameterId, setPrecision, setUnitSystem, setValue, setValue, toString, toStringDetailedMethods inherited from class java.lang.Number
byteValue, shortValue
-
Field Details
-
PRECISION_NOT_SET
public static final int PRECISION_NOT_SETDeprecated.- See Also:
-
EXPONENTIAL_NUMBER
public static final int EXPONENTIAL_NUMBERDeprecated.- See Also:
-
-
Constructor Details
-
ParamDouble
public ParamDouble()Deprecated.Simple constructor that creates a new ParamDouble object with a UNDEFINED double value and a null parameter -
ParamDouble
public ParamDouble(double val, int paramID) Deprecated.Creates a new ParamDouble object with the given double value and parameter value.- Parameters:
val-paramID-
-
ParamDouble
public ParamDouble(double value, int paramID, int unitSys) Deprecated. -
ParamDouble
public ParamDouble(double value, int paramID, int unitSys, int precision) Deprecated. -
ParamDouble
public ParamDouble(mil.army.usace.hec.data.ParamDouble other) Deprecated.
-
-
Method Details
-
clone
Deprecated.- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
ParamDoublefrom hec-nucleus-data instead.