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

    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 ParamDouble object with a UNDEFINED double value and a null parameter
    ParamDouble(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

    Modifier and Type
    Method
    Description
    Deprecated.
     

    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, toStringDetailed

    Methods inherited from class java.lang.Number

    byteValue, shortValue

    Methods inherited from class java.lang.Object

    finalize, getClass, 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

    • 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