Package | Description |
---|---|
com.redhat.thermostat.common |
Modifier and Type | Method and Description |
---|---|
static Size.Unit |
Size.Unit.getBestUnit(long bytes) |
Size.Unit |
Size.getUnit() |
static Size.Unit |
Size.Unit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Size.Unit[] |
Size.Unit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Size |
Size.convertTo(Size.Unit target) |
Constructor and Description |
---|
Size(double amount,
Size.Unit unit) |
Copyright © 2016. All rights reserved.