| Package | Description |
|---|---|
| one.microstream.configuration.types |
| Modifier and Type | Method and Description |
|---|---|
static ByteUnit |
ByteUnit.ofName(String name) |
ByteUnit |
ByteSize.unit()
Gets the unit of this
ByteSize. |
ByteUnit |
ByteSize.Default.unit() |
static ByteUnit |
ByteUnit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteUnit[] |
ByteUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static ConfigurationValueMapper<ByteSize> |
ConfigurationValueMapper.ByteSize(ByteUnit defaultUnit) |
static ByteUnit.Conversion |
ByteUnit.convert(double sourceValue,
ByteUnit sourceUnit)
Starts a conversion, continue with
ByteUnit.Conversion.to(ByteUnit), e.g.: |
static ByteSizeParser |
ByteSizeParser.New(ByteUnit defaultUnit)
Preudo-constructor method to create a new
ByteSizeParser. |
static ByteSize |
ByteSize.New(double amount,
ByteUnit unit)
Pseudo-constructor method which creates a new
ByteSize object. |
double |
ByteUnit.Conversion.to(ByteUnit targetUnit) |
Copyright © 2022 MicroStream Software. All rights reserved.