public class StorageSize extends Object
| Constructor and Description |
|---|
StorageSize(StorageUnit unit,
double value)
Constucts a Storage Measure, which contains the value and the unit of
measure.
|
| Modifier and Type | Method and Description |
|---|---|
StorageUnit |
getUnit() |
double |
getValue() |
static StorageSize |
parse(String value) |
public StorageSize(StorageUnit unit, double value)
unit - - Unit of Measurevalue - - Numeric value.public static StorageSize parse(String value)
public StorageUnit getUnit()
public double getValue()
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.