static DataSize |
DataSize.bytes(long count) |
Constructs a new DataSize object representing the specified amount of bytes.
|
static DataSize |
DataSize.gibibytes(long count) |
Constructs a new DataSize object representing the specified amount of gibibytes.
|
static DataSize |
DataSize.gigabytes(long count) |
Constructs a new DataSize object representing the specified amount of gigabytes.
|
static DataSize |
DataSize.kibibytes(long count) |
Constructs a new DataSize object representing the specified amount of kibibytes.
|
static DataSize |
DataSize.kilobytes(long count) |
Constructs a new DataSize object representing the specified amount of kilobytes.
|
static DataSize |
DataSize.mebibytes(long count) |
Constructs a new DataSize object representing the specified amount of mebibytes.
|
static DataSize |
DataSize.megabytes(long count) |
Constructs a new DataSize object representing the specified amount of megabytes.
|
static DataSize |
DataSize.parse(CharSequence size) |
|
static DataSize |
DataSize.parse(CharSequence size,
DataSizeUnit defaultUnit) |
|
static DataSize |
DataSize.pebibytes(long count) |
Constructs a new DataSize object representing the specified amount of pebibytes.
|
static DataSize |
DataSize.petabytes(long count) |
Constructs a new DataSize object representing the specified amount of petabytes.
|
static DataSize |
DataSize.tebibytes(long count) |
Constructs a new DataSize object representing the specified amount of tebibytes.
|
static DataSize |
DataSize.terabytes(long count) |
Constructs a new DataSize object representing the specified amount of terabytes.
|