@Test public void kilo() { assertThat(HumanReadableSize.toString(12345L), is("12.35 KB")); assertThat(HumanReadableSize.toString(12345L, true), is("12 KB")); }
public static String toString(long size) { return toString(size, false); }
HumanReadableSize { public static String toString(long size) { return toString(size, false); } }
HumanReadableSize { public static String toString(long size) { return toString(size, false); } private  HumanReadableSize(); }
HumanReadableSize { public static String toString(long size) { return toString(size, false); } private  HumanReadableSize(); static String toString(long size); static String toString(long size, boolean roundUp); }
HumanReadableSize { public static String toString(long size) { return toString(size, false); } private  HumanReadableSize(); static String toString(long size); static String toString(long size, boolean roundUp); static final long KB; static final long MB; }