/** * Parses the given text as an integer, avoiding runtime exceptions. * * @param aText * the text to parse as an integer, can be <code>null</code> or * empty. * @return the numeric representation of the given text, or -1 if the text * could not be parsed correctly as integer. * @see #safeParseLong(String, long) */ public static long safeParseLong( final String aText ) { return safeParseLong( aText, -1L ); }
final long value = safeParseLong( instrValue ); if ( value > Long.MIN_VALUE ) final long value = safeParseLong( instrValue ); if ( value > Long.MIN_VALUE )
final long value = safeParseLong( instrValue ); if ( value > Long.MIN_VALUE ) final long value = safeParseLong( instrValue ); if ( value > Long.MIN_VALUE )
final long value = safeParseLong( instrValue ); if ( value > Long.MIN_VALUE ) final long value = safeParseLong( instrValue ); if ( value > Long.MIN_VALUE )