Uses of Class
one.microstream.configuration.types.ByteUnit
| Package | Description |
|---|---|
| one.microstream.configuration.types |
-
Uses of ByteUnit in one.microstream.configuration.types
Methods in one.microstream.configuration.types that return ByteUnit Modifier and Type Method Description static ByteUnitByteUnit. ofName(String name)ByteUnitByteSize.Default. unit()ByteUnitByteSize. unit()Gets the unit of thisByteSize.static ByteUnitByteUnit. 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.Methods in one.microstream.configuration.types with parameters of type ByteUnit Modifier and Type Method Description static ConfigurationValueMapper<ByteSize>ConfigurationValueMapper. ByteSize(ByteUnit defaultUnit)static ByteUnit.ConversionByteUnit. convert(double sourceValue, ByteUnit sourceUnit)Starts a conversion, continue withByteUnit.Conversion.to(ByteUnit), e.g.:static ByteSizeByteSize. New(double amount, ByteUnit unit)Pseudo-constructor method which creates a newByteSizeobject.static ByteSizeParserByteSizeParser. New(ByteUnit defaultUnit)Preudo-constructor method to create a newByteSizeParser.doubleByteUnit.Conversion. to(ByteUnit targetUnit)