@Test public void testLongParseNonDefaultSuccess() { long num = NumberParser.parseLong("0", 1L); assertEquals(0L, num); }
public static Long parseLong(final String str) { if (null != str) { try { return new Long(Long.parseLong(str.trim())); } catch (final Exception e) { } } return null; }
NumberParser { public static Long parseLong(final String str) { if (null != str) { try { return new Long(Long.parseLong(str.trim())); } catch (final Exception e) { } } return null; } }
NumberParser { public static Long parseLong(final String str) { if (null != str) { try { return new Long(Long.parseLong(str.trim())); } catch (final Exception e) { } } return null; } private  NumberParser(); }
NumberParser { public static Long parseLong(final String str) { if (null != str) { try { return new Long(Long.parseLong(str.trim())); } catch (final Exception e) { } } return null; } private  NumberParser(); static Long parseLong(final String str); static Integer parseInt(final String str); static Float parseFloat(final String str); static float parseFloat(final String str, final float def); static long parseLong(final String str, final long def); }
NumberParser { public static Long parseLong(final String str) { if (null != str) { try { return new Long(Long.parseLong(str.trim())); } catch (final Exception e) { } } return null; } private  NumberParser(); static Long parseLong(final String str); static Integer parseInt(final String str); static Float parseFloat(final String str); static float parseFloat(final String str, final float def); static long parseLong(final String str, final long def);  }