Class NumberConverters.GenericNumberToDouble<N extends java.lang.Number>

    • Constructor Detail

      • GenericNumberToDouble

        public GenericNumberToDouble​(java.lang.Class<N> sourceClass)
    • Method Detail

      • convert

        public java.lang.Double convert​(N obj)
                                 throws ConversionException
        Description copied from interface: Converter
        Converts obj to T.
        Parameters:
        obj - The source Object to convert
        Returns:
        The converted Object
        Throws:
        ConversionException