| Package | Description |
|---|---|
| org.echocat.jomon.runtime.util |
| Modifier and Type | Method and Description |
|---|---|
ByteUnit |
ByteCount.getBestFittingUnit() |
static ByteUnit |
ByteUnit.getByDisplay(java.lang.String display) |
static ByteUnit |
ByteUnit.getByShortDisplay(java.lang.String shortDisplay) |
static ByteUnit |
ByteUnit.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ByteUnit[] |
ByteUnit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
ByteCount.allocate(long byteCount,
ByteUnit unit) |
static java.nio.ByteBuffer |
ByteCount.allocateBuffer(long byteCount,
ByteUnit unit) |
static ByteCount |
ByteCount.byteCount(long byteCount,
ByteUnit unit) |
static ByteCount |
ByteCount.byteCountOf(long byteCount,
ByteUnit unit) |
abstract double |
ByteUnit.convert(double count,
ByteUnit sourceUnit) |
abstract long |
ByteUnit.convert(long count,
ByteUnit sourceUnit) |
long |
ByteCount.in(ByteUnit byteUnit) |
ByteCount |
ByteCount.minus(long byteCount,
ByteUnit unit) |
ByteCount |
ByteCount.plus(long byteCount,
ByteUnit unit) |
java.lang.String |
ByteCount.toFormattedByteCountOf(ByteUnit unit) |
java.lang.String |
ByteCount.toFormattedByteCountOf(ByteUnit unit,
int precision) |
java.lang.String |
ByteCount.toFormattedByteCountOf(ByteUnit unit,
java.util.Locale locale) |
java.lang.String |
ByteCount.toFormattedByteCountOf(ByteUnit unit,
java.util.Locale locale,
int precision) |
| Constructor and Description |
|---|
ByteCount(long count,
ByteUnit byteUnit) |
Copyright © 2013 echocat. All Rights Reserved.