public class SizeInfoDto extends Object
Modifier and Type | Field and Description |
---|---|
List<SizeInfoDetailDto> |
details
Optional details.
|
long |
size
Represented approximate size in bytes.
|
Constructor and Description |
---|
SizeInfoDto()
Constrcut.
|
Modifier and Type | Method and Description |
---|---|
void |
add(long size)
Add to the represented size.
|
void |
addDetail(String detailName,
long detailSize)
Add a named size component.
|
public long size
public List<SizeInfoDetailDto> details
public void add(long size)
size
- Amount to addpublic void addDetail(String detailName, long detailSize)
detailName
- NamedetailSize
- Represented size