public class TeamSpaceAllocation extends Object
Modifier and Type | Field and Description |
---|---|
protected long |
allocated |
protected long |
used |
Constructor and Description |
---|
TeamSpaceAllocation(long used,
long allocated) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getAllocated()
The total space allocated to the user's team (bytes).
|
long |
getUsed()
The total space currently used by the user's team (bytes).
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
public TeamSpaceAllocation(long used, long allocated)
used
- The total space currently used by the user's team (bytes).allocated
- The total space allocated to the user's team (bytes).public long getUsed()
public long getAllocated()
public String toStringMultiline()
The returned String may contain newlines.