public static enum MemoryFacet.MemoryUnit extends Enum<MemoryFacet.MemoryUnit>
| Modifier and Type | Method and Description |
|---|---|
static MemoryFacet.MemoryUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemoryFacet.MemoryUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemoryFacet.MemoryUnit Byte
public static final MemoryFacet.MemoryUnit kB
public static final MemoryFacet.MemoryUnit MB
public static final MemoryFacet.MemoryUnit GB
public static final MemoryFacet.MemoryUnit TB
public static final MemoryFacet.MemoryUnit PB
public static final MemoryFacet.MemoryUnit EB
public static final MemoryFacet.MemoryUnit ZB
public static final MemoryFacet.MemoryUnit YB
public static MemoryFacet.MemoryUnit[] values()
for (MemoryFacet.MemoryUnit c : MemoryFacet.MemoryUnit.values()) System.out.println(c);
public static MemoryFacet.MemoryUnit 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 © 2016. All Rights Reserved.