public class DiscUsage extends Object
Constructor and Description |
---|
DiscUsage() |
DiscUsage(Long usedSize,
Long totalSize)
Initializes a new instance of the DiscUsage
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Long |
getTotalSize()
Get totalSize
|
Long |
getUsedSize()
Get usedSize
|
int |
hashCode() |
void |
setTotalSize(Long totalSize)
Set totalSize.
|
void |
setUsedSize(Long usedSize)
Set usedSize.
|
String |
toString() |
DiscUsage |
totalSize(Long totalSize)
Set totalSize and return this.
|
DiscUsage |
usedSize(Long usedSize)
Set usedSize and return this.
|
public DiscUsage usedSize(Long usedSize)
usedSize
- public Long getUsedSize()
public void setUsedSize(Long usedSize)
usedSize
- public DiscUsage totalSize(Long totalSize)
totalSize
- public Long getTotalSize()
public void setTotalSize(Long totalSize)
totalSize
- Copyright © 2020. All rights reserved.