public static enum ByteValue.ByteUnit extends Enum<ByteValue.ByteUnit>
| Modifier and Type | Method and Description |
|---|---|
static ByteValue.ByteUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteValue.ByteUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ByteValue.ByteUnit KB
public static final ByteValue.ByteUnit MB
public static final ByteValue.ByteUnit GB
public static final ByteValue.ByteUnit TB
public static ByteValue.ByteUnit[] values()
for (ByteValue.ByteUnit c : ByteValue.ByteUnit.values()) System.out.println(c);
public static ByteValue.ByteUnit valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2015. All rights reserved.