Class FloatParameter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean booleanValue()
      Returns true if the value is different from 0, false otherwise.
      FloatParameter clone()
      Returns a clone of this parameter.
      double doubleValue()
      Returns the numeric value of the coordinate operation parameter with its associated unit of measure.
      double doubleValue​(Unit<?> unit)
      Returns the numeric value of the coordinate operation parameter in the specified unit of measure.
      double[] doubleValueList()
      Wraps the value in an array of length 1.
      double[] doubleValueList​(Unit<?> unit)
      Wraps the value in an array of length 1.
      boolean equals​(Object object)
      Compares the specified object with this parameter for equality.
      ParameterDescriptor<Double> getDescriptor()
      Returns the abstract definition of this parameter.
      Unit<?> getUnit()
      Returns the unit of measure of the parameter value.
      Double getValue()
      Returns the parameter value as {Double,
      int hashCode()
      Returns a hash value for this parameter.
      int intValue()
      Returns the numeric value rounded to the nearest integer.
      int[] intValueList()
      Wraps the value in an array of length 1.
      void setValue​(boolean value)
      Set the parameter value as a boolean.
      void setValue​(double value)
      Set the parameter value as a floating point.
      void setValue​(double[] values, Unit<?> unit)
      Always throws an exception, since this parameter is not an array.
      void setValue​(double value, Unit<?> unit)
      Set the parameter value as a floating point and its associated unit.
      void setValue​(int value)
      Set the parameter value as an integer.
      void setValue​(Object value)
      Set the parameter value as a Double object.
      String stringValue()
      Returns the string representation of the value.
      URI valueFile()
      Always throws an exception, since this parameter is not an URI.
      • Methods inherited from class Object

        finalize, getClass, notify, notifyAll, wait, wait, wait