public final class ConfigMemorySize extends java.lang.Object
ofBytes(long) to create instances.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
static ConfigMemorySize |
ofBytes(long bytes)
Constructs a ConfigMemorySize representing the given
number of bytes.
|
long |
toBytes()
Gets the size in bytes.
|
java.lang.String |
toString() |
public static ofBytes(long bytes)
bytes - a number of bytespublic long toBytes()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object