com.enonic.xp.convert.LongConverter Maven / Gradle / Ivy
The newest version!
package com.enonic.xp.convert;
final class LongConverter
extends NumberConverter
{
LongConverter()
{
super( Long.class );
}
@Override
protected Long fromNumber( final Number value )
{
return value.longValue();
}
@Override
protected Long parse( final String value )
{
return Long.parseLong( value );
}
}