All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.enonic.xp.convert.ShortConverter Maven / Gradle / Ivy

There is a newer version: 7.14.4
Show newest version
package com.enonic.xp.convert;

final class ShortConverter
    extends NumberConverter
{
    ShortConverter()
    {
        super( Short.class );
    }

    @Override
    protected Short fromNumber( final Number value )
    {
        return value.shortValue();
    }

    @Override
    protected Short parse( final String value )
    {
        return Short.parseShort( value );
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy