jodd-bean/src/main/java/jodd/typeconverter/Converter.java
public long toLongValue(final Object value, final long defaultValue) {
		final Long result = toLong(value);
		if (result == null) {
			return defaultValue;
		}
		return result.longValue();
	}
public long toLongValue(final Object value, final long defaultValue) {
		final Long result = toLong(value);
		if (result == null) {
			return defaultValue;
		}
		return result.longValue();
	}
public long toLongValue ( final Object value , final long defaultValue ) { final Long result = toLong ( value ) ; if ( result == null ) { return defaultValue ; } return result . longValue ( ) ; }
Converts value to <code>long</code>. Returns default value
when conversion result is <code>null</code>.
Converts value to <code > long< / code > . Returns default value when conversion result is <code > null< / code > .