Package hec.data
Class ParamDoubleArray
java.lang.Object
mil.army.usace.hec.data.ParamDoubleArray
hec.data.ParamDoubleArray
- All Implemented Interfaces:
Cloneable
@Deprecated
public class ParamDoubleArray
extends mil.army.usace.hec.data.ParamDoubleArray
implements Cloneable
Deprecated.
The ParamDoubleArray class acts as a simple wrapper around a double array. This class provided the ability to add meaning
to a double array by associating it with a certain Parameter, such as "ELEVATION". This allows the appropriate units
type to retreived to represent the double value in any unit system the Paramter supports.
- Since:
- May 3, 2001
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.static final intDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Simple constructor that creates a new ParamDoubleArray object with a single UNDEFINED double value and a null parameterParamDoubleArray(double[] vals, int paramID) Deprecated.Creates a new ParamDoubleArray object with the given double values and parameter value.ParamDoubleArray(double[] values, int paramID, int unitSys, int precision) Deprecated.ParamDoubleArray(mil.army.usace.hec.data.ParamDoubleArray other) Deprecated. -
Method Summary
Methods inherited from class mil.army.usace.hec.data.ParamDoubleArray
convertToUnitSystem, convertUnits, findPrecision, getParameterId, getPrecision, getUnitSystem, getValue, getValues, length, setParameterId, setPrecision, setUnitSystem, setValue, setValue, setValues, toString
-
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
-
ParamDoubleArray
public ParamDoubleArray()Deprecated.Simple constructor that creates a new ParamDoubleArray object with a single UNDEFINED double value and a null parameter -
ParamDoubleArray
public ParamDoubleArray(double[] vals, int paramID) Deprecated.Creates a new ParamDoubleArray object with the given double values and parameter value.- Parameters:
vals-paramID-
-
ParamDoubleArray
public ParamDoubleArray(double[] values, int paramID, int unitSys, int precision) Deprecated. -
ParamDoubleArray
public ParamDoubleArray(mil.army.usace.hec.data.ParamDoubleArray other) Deprecated.
-
-
Method Details
-
clone
Deprecated.- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
ParamDoubleArrayfrom hec-nucleus-data instead.