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.
As of 02/08/2021 use ParamDoubleArray from hec-nucleus-data instead.
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

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Deprecated.
     
    static final int
    Deprecated.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Simple constructor that creates a new ParamDoubleArray object with a single UNDEFINED double value and a null parameter
    ParamDoubleArray(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

    Modifier and Type
    Method
    Description
    Deprecated.
     

    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

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • PRECISION_NOT_SET

      public static final int PRECISION_NOT_SET
      Deprecated.
      See Also:
    • EXPONENTIAL_NUMBER

      public static final int EXPONENTIAL_NUMBER
      Deprecated.
      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