@Test(expected = IllegalArgumentException.class) public void testFloatNaN() { LangUtils.parseFloat("NaN"); }
public static float parseFloat(String s) { float value = Float.parseFloat(s); Preconditions.checkArgument(Floats.isFinite(value), "Bad value: %s", value); return value; }
LangUtils { public static float parseFloat(String s) { float value = Float.parseFloat(s); Preconditions.checkArgument(Floats.isFinite(value), "Bad value: %s", value); return value; } }
LangUtils { public static float parseFloat(String s) { float value = Float.parseFloat(s); Preconditions.checkArgument(Floats.isFinite(value), "Bad value: %s", value); return value; } private  LangUtils(); }
LangUtils { public static float parseFloat(String s) { float value = Float.parseFloat(s); Preconditions.checkArgument(Floats.isFinite(value), "Bad value: %s", value); return value; } private  LangUtils(); static float parseFloat(String s); static double parseDouble(String s); static int hashDouble(double d); }
LangUtils { public static float parseFloat(String s) { float value = Float.parseFloat(s); Preconditions.checkArgument(Floats.isFinite(value), "Bad value: %s", value); return value; } private  LangUtils(); static float parseFloat(String s); static double parseDouble(String s); static int hashDouble(double d);  }