@Test public void test_parseLong_bytes_null() { byte[] in = null; long result = NumberUtils.parseLong(in, 123L); Assertions.assertEquals(123L, result); }
public static long parseLong(String val, long defaultValue) { long ret = defaultValue; try { ret = Long.parseLong(val); } catch (Exception ignored) { } return ret; }
NumberUtils { public static long parseLong(String val, long defaultValue) { long ret = defaultValue; try { ret = Long.parseLong(val); } catch (Exception ignored) { } return ret; } }
NumberUtils { public static long parseLong(String val, long defaultValue) { long ret = defaultValue; try { ret = Long.parseLong(val); } catch (Exception ignored) { } return ret; }  }
NumberUtils { public static long parseLong(String val, long defaultValue) { long ret = defaultValue; try { ret = Long.parseLong(val); } catch (Exception ignored) { } return ret; }  static long parseLong(String val, long defaultValue); static long parseLong(byte[] val, long defaultValue); static boolean longEquals(Long va, Long vb); }
NumberUtils { public static long parseLong(String val, long defaultValue) { long ret = defaultValue; try { ret = Long.parseLong(val); } catch (Exception ignored) { } return ret; }  static long parseLong(String val, long defaultValue); static long parseLong(byte[] val, long defaultValue); static boolean longEquals(Long va, Long vb);  }