Class FloatType

All Implemented Interfaces:
Serializable, DataType

public class FloatType extends PrimitiveType
Float data type.
See Also:
  • Method Details

    • isFloat

      public boolean isFloat()
      Description copied from interface: DataType
      Returns true if the type is float or Float.
      Returns:
      true if the type is float or Float.
    • toString

      public String toString(Object o)
      Description copied from interface: DataType
      Returns the string representation of a value of the type.
      Parameters:
      o - the value.
      Returns:
      the string representation
    • valueOf

      public Float valueOf(String s)
      Description copied from interface: DataType
      Returns the value from its string representation.
      Parameters:
      s - the string representation of a value of this type.
      Returns:
      the value.