Class QVCDouble

java.lang.Object
com.io7m.quarrel.core.converters.QVCAbstract<Double>
com.io7m.quarrel.core.converters.QVCDouble
All Implemented Interfaces:
QValueConverterType<Double>

public final class QVCDouble extends QVCAbstract<Double>
A value converter.
  • Method Details

    • get

      public static QValueConverterType<Double> get()
      Returns:
      A value converter.
    • parse

      protected Double parse(String text) throws Exception
      Specified by:
      parse in class QVCAbstract<Double>
      Throws:
      Exception
    • convertToString

      public String convertToString(Double value)
      Description copied from interface: QValueConverterType
      Convert a value of T to a string.
      Parameters:
      value - The value
      Returns:
      A string
    • exampleValue

      public Double exampleValue()
      Returns:
      An example value used for documentation
    • syntax

      public String syntax()
      Returns:
      A description of the syntax for valid values of T
    • convertedClass

      public Class<Double> convertedClass()
      Returns:
      The type that will be converted