public class PrettyPrint extends Object
| Modifier and Type | Field and Description |
|---|---|
static long[] |
powers10i |
static String[] |
SCALE |
| Constructor and Description |
|---|
PrettyPrint() |
| Modifier and Type | Method and Description |
|---|---|
static String |
bytes(long bytes) |
static String |
bytes(long bytes,
int scale) |
static int |
byteScale(long bytes) |
static String |
bytesPerSecond(long bytes) |
static double |
bytesScaled(long bytes,
int scale) |
static boolean |
fitsIntoInt(double d) |
static String |
msecs(long msecs,
boolean truncate) |
static double |
pow10(int exp) |
static long |
pow10i(int exp) |
static String |
usecs(long usecs) |
static String |
UUID(long lo,
long hi) |
public static final String[] SCALE
public static long[] powers10i
public static String msecs(long msecs, boolean truncate)
public static String usecs(long usecs)
public static int byteScale(long bytes)
public static double bytesScaled(long bytes,
int scale)
public static String bytes(long bytes)
public static String bytes(long bytes, int scale)
public static String bytesPerSecond(long bytes)
public static String UUID(long lo, long hi)
public static double pow10(int exp)
public static long pow10i(int exp)
public static final boolean fitsIntoInt(double d)
Copyright © 2013–2014 0xdata. All rights reserved.