public class Size extends Object
| Modifier and Type | Method and Description |
|---|---|
static Size |
bytes(long count) |
boolean |
equals(Object obj) |
long |
getQuantity() |
SizeUnit |
getUnit() |
static Size |
gigabytes(long count) |
int |
hashCode() |
static Size |
kilobytes(long count) |
static Size |
megabytes(long count) |
static Size |
parse(String size) |
static Size |
terabytes(long count) |
long |
toBytes() |
long |
toGigabytes() |
long |
toKilobytes() |
long |
toMegabytes() |
String |
toString() |
long |
toTerabytes() |
public static Size bytes(long count)
public static Size kilobytes(long count)
public static Size megabytes(long count)
public static Size gigabytes(long count)
public static Size terabytes(long count)
public long getQuantity()
public SizeUnit getUnit()
public long toBytes()
public long toKilobytes()
public long toMegabytes()
public long toGigabytes()
public long toTerabytes()
Copyright © 2014. All rights reserved.