| Modifier and Type | Method and Description |
|---|---|
static ByteSize |
forBytes(double bytes) |
static ByteSize |
forBytes(long bytes) |
static ByteSize |
forGigabytes(double gb) |
static ByteSize |
forGigabytes(int gb) |
static ByteSize |
forKilobytes(double kb) |
static ByteSize |
forKilobytes(long kb) |
static ByteSize |
forMegabytes(double mb) |
static ByteSize |
forMegabytes(long mb) |
static ByteSize |
forTerabytes(double tb) |
static ByteSize |
forTerabytes(int tb) |
long |
getBytes() |
double |
getGigabytes() |
double |
getKilobytes() |
double |
getMegabytes() |
double |
getTerabytes() |
public static ByteSize forBytes(long bytes)
public static ByteSize forBytes(double bytes)
public static ByteSize forKilobytes(long kb)
public static ByteSize forKilobytes(double kb)
public static ByteSize forMegabytes(long mb)
public static ByteSize forMegabytes(double mb)
public static ByteSize forGigabytes(int gb)
public static ByteSize forGigabytes(double gb)
public static ByteSize forTerabytes(int tb)
public static ByteSize forTerabytes(double tb)
public long getBytes()
public double getKilobytes()
public double getMegabytes()
public double getGigabytes()
public double getTerabytes()