public enum MemoryUnit extends Enum<MemoryUnit>
| Modifier and Type | Method and Description |
|---|---|
static MemoryUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemoryUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemoryUnit Ki
public static final MemoryUnit Mi
public static final MemoryUnit Gi
public static final MemoryUnit Ti
public static final MemoryUnit Pi
public static final MemoryUnit Ei
public static MemoryUnit[] values()
for (MemoryUnit c : MemoryUnit.values()) System.out.println(c);
public static 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 © 2020 Red Hat, Inc. All Rights Reserved.