public static enum SizeBytes.Type extends Enum<SizeBytes.Type>
| Enum Constant and Description |
|---|
Bytes |
GBytes |
KBytes |
MBytes |
TBytes |
| Modifier and Type | Method and Description |
|---|---|
static SizeBytes.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SizeBytes.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SizeBytes.Type TBytes
public static final SizeBytes.Type GBytes
public static final SizeBytes.Type MBytes
public static final SizeBytes.Type KBytes
public static final SizeBytes.Type Bytes
public static SizeBytes.Type[] values()
for (SizeBytes.Type c : SizeBytes.Type.values()) System.out.println(c);
public static SizeBytes.Type 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 © 2012–2017 The Apache Software Foundation. All rights reserved.