| Modifier and Type | Method and Description |
|---|---|
DataSize.Unit |
DataSize.getUnit() |
static DataSize.Unit |
DataSize.Unit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataSize.Unit[] |
DataSize.Unit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
DataSize |
DataSize.convertTo(DataSize.Unit unit) |
double |
DataSize.getValue(DataSize.Unit unit) |
long |
DataSize.roundTo(DataSize.Unit unit) |
static DataSize |
DataSize.succinctDataSize(double size,
DataSize.Unit unit) |
| Constructor and Description |
|---|
DataSize(double size,
DataSize.Unit unit) |
Copyright © 2010-2016 Airlift. All Rights Reserved.