com.atlassian.confluence.status.service.systeminfo
Class MemoryInfo.Bytes
java.lang.Object
com.atlassian.confluence.status.service.systeminfo.MemoryInfo.Bytes
- Enclosing class:
- MemoryInfo
public static class MemoryInfo.Bytes
- extends java.lang.Object
Represents some number of bytes. A convenience class so we don't have to have lots of separate helper
methods to convert numbers to megabytes.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
MemoryInfo.Bytes
public MemoryInfo.Bytes(long value)
bytes
public long bytes()
megabytes
public long megabytes()
plus
public MemoryInfo.Bytes plus(MemoryInfo.Bytes b)
minus
public MemoryInfo.Bytes minus(MemoryInfo.Bytes b)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2003-2014 Atlassian. All Rights Reserved.