public class ByteValue extends Object
| Constructor and Description |
|---|
ByteValue(long value,
ByteUnit unit) |
ByteValue(String humanReadable) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ByteUnit |
getUnit() |
long |
getValue() |
int |
hashCode() |
static ByteValue |
ofBytes(long value) |
static ByteValue |
ofGigabytes(long value) |
static ByteValue |
ofKilobytes(long value) |
static ByteValue |
ofMegabytes(long value) |
long |
toBytes() |
ByteValue |
toBytesValue() |
ByteValue |
toGigabytesValue() |
ByteValue |
toKilobytesValue() |
ByteValue |
toMegabytesValue() |
String |
toString() |
public ByteValue(long value,
ByteUnit unit)
public ByteValue(String humanReadable)
public static ByteValue ofBytes(long value)
public static ByteValue ofKilobytes(long value)
public static ByteValue ofMegabytes(long value)
public static ByteValue ofGigabytes(long value)
public ByteUnit getUnit()
public long getValue()
public long toBytes()
public ByteValue toBytesValue()
public ByteValue toKilobytesValue()
public ByteValue toMegabytesValue()
public ByteValue toGigabytesValue()
Copyright © 2017–2019 camunda services GmbH. All rights reserved.