@Test(expected = NumericException.class) public void testEmptyLong() throws Exception { Numbers.parseLong("L"); }
public static long parseLong(CharSequence sequence) throws NumericException { if (sequence == null) { throw NumericException.INSTANCE; } return parseLong0(sequence, 0, sequence.length()); }
Numbers { public static long parseLong(CharSequence sequence) throws NumericException { if (sequence == null) { throw NumericException.INSTANCE; } return parseLong0(sequence, 0, sequence.length()); } }
Numbers { public static long parseLong(CharSequence sequence) throws NumericException { if (sequence == null) { throw NumericException.INSTANCE; } return parseLong0(sequence, 0, sequence.length()); } private  Numbers(); }
Numbers { public static long parseLong(CharSequence sequence) throws NumericException { if (sequence == null) { throw NumericException.INSTANCE; } return parseLong0(sequence, 0, sequence.length()); } private  Numbers(); static void append(CharSink sink, final float value, int scale); static void append(CharSink sink, final int value); static void append(CharSink sink, final long value); static void append(CharSink sink, double value); static void append(CharSink sink, double value, int scale); static void appendHex(CharSink sink, final int value); static void appendHex(CharSink sink, final long value, boolean pad); static void appendHexPadded(CharSink sink, final int value); static void appendLong256(long a, long b, long c, long d, CharSink sink); static int ceilPow2(int value); static long ceilPow2(long value); static int compare(double a, double b); static int compare(float a, float b); static int decodeHighInt(long val); static int decodeLowInt(long val); static long encodeLowHighInts(int low, int high); static int hexToDecimal(int c); static int msb(int value); static int msb(long value); static double parseDouble(CharSequence sequence); static float parseFloat(CharSequence sequence); static int parseHexInt(CharSequence sequence); static int parseHexInt(CharSequence sequence, int lo, int hi); static long parseHexLong(CharSequence sequence, int lo, int hi); static int parseInt(CharSequence sequence); static int parseInt(CharSequence sequence, int p, int lim); static int parseIntQuiet(CharSequence sequence); static long parseIntSafely(CharSequence sequence, final int p, int lim); static int parseIntSize(CharSequence sequence); static long parseLong(CharSequence sequence); static long parseLong(CharSequence sequence, int p, int lim); static long parseLongQuiet(CharSequence sequence); static long parseLongSize(CharSequence sequence); static short parseShort(CharSequence sequence, int p, int lim); static double roundDown(double value, int scale); static double roundDownNegScale(double value, int scale); static double roundDownPosScale(double value, int scale); static double roundHalfDown(double value, int scale); static double roundHalfEven(double value, int scale); static double roundHalfEven0NegScale(double value, int scale); static double roundHalfEven0PosScale(double value, int scale); static double roundHalfEvenNegScale(double value, int scale); static double roundHalfEvenPosScale(double value, int scale); static double roundHalfUp(double value, int scale); static double roundHalfUpNegScale(double value, int scale); static double roundHalfUpPosScale(double value, int scale); static double roundUp(double value, int scale); static double roundUpNegScale(double value, int scale); static double roundUpPosScale(double value, int scale); static boolean isFinite(double d); static double longToDouble(long value); static float longToFloat(long value); static double intToDouble(int value); static float intToFloat(int value); static long intToLong(int value); }
Numbers { public static long parseLong(CharSequence sequence) throws NumericException { if (sequence == null) { throw NumericException.INSTANCE; } return parseLong0(sequence, 0, sequence.length()); } private  Numbers(); static void append(CharSink sink, final float value, int scale); static void append(CharSink sink, final int value); static void append(CharSink sink, final long value); static void append(CharSink sink, double value); static void append(CharSink sink, double value, int scale); static void appendHex(CharSink sink, final int value); static void appendHex(CharSink sink, final long value, boolean pad); static void appendHexPadded(CharSink sink, final int value); static void appendLong256(long a, long b, long c, long d, CharSink sink); static int ceilPow2(int value); static long ceilPow2(long value); static int compare(double a, double b); static int compare(float a, float b); static int decodeHighInt(long val); static int decodeLowInt(long val); static long encodeLowHighInts(int low, int high); static int hexToDecimal(int c); static int msb(int value); static int msb(long value); static double parseDouble(CharSequence sequence); static float parseFloat(CharSequence sequence); static int parseHexInt(CharSequence sequence); static int parseHexInt(CharSequence sequence, int lo, int hi); static long parseHexLong(CharSequence sequence, int lo, int hi); static int parseInt(CharSequence sequence); static int parseInt(CharSequence sequence, int p, int lim); static int parseIntQuiet(CharSequence sequence); static long parseIntSafely(CharSequence sequence, final int p, int lim); static int parseIntSize(CharSequence sequence); static long parseLong(CharSequence sequence); static long parseLong(CharSequence sequence, int p, int lim); static long parseLongQuiet(CharSequence sequence); static long parseLongSize(CharSequence sequence); static short parseShort(CharSequence sequence, int p, int lim); static double roundDown(double value, int scale); static double roundDownNegScale(double value, int scale); static double roundDownPosScale(double value, int scale); static double roundHalfDown(double value, int scale); static double roundHalfEven(double value, int scale); static double roundHalfEven0NegScale(double value, int scale); static double roundHalfEven0PosScale(double value, int scale); static double roundHalfEvenNegScale(double value, int scale); static double roundHalfEvenPosScale(double value, int scale); static double roundHalfUp(double value, int scale); static double roundHalfUpNegScale(double value, int scale); static double roundHalfUpPosScale(double value, int scale); static double roundUp(double value, int scale); static double roundUpNegScale(double value, int scale); static double roundUpPosScale(double value, int scale); static boolean isFinite(double d); static double longToDouble(long value); static float longToFloat(long value); static double intToDouble(int value); static float intToFloat(int value); static long intToLong(int value); static final int INT_NaN; static final long LONG_NaN; static final double TOLERANCE; static final int SIZE_1MB; static final char[] hexDigits; final static int[] hexNumbers; final static int pow10max; static final int SIGNIFICAND_WIDTH; static final int MAX_SCALE; static final long SIGN_BIT_MASK; }