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

    • Constructor Detail

      • GenericNumberToInteger

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

      • convert

        public java.lang.Integer 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