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