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()
Total disc space.
|
Long |
getUsedSize()
Application used disc space.
|
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
- Application used disc space.public Long getUsedSize()
public void setUsedSize(Long usedSize)
usedSize
- Application used disc space.public DiscUsage totalSize(Long totalSize)
totalSize
- Total disc space.public Long getTotalSize()
public void setTotalSize(Long totalSize)
totalSize
- Total disc space.Copyright © 2020. All rights reserved.