public static enum MemorySizeStringConverter.Unit extends Enum<MemorySizeStringConverter.Unit>
| Enum Constant and Description |
|---|
BEST |
BYTE |
GIGABYTE |
KILOBYTE |
MEGABYTE |
| Modifier and Type | Method and Description |
|---|---|
static MemorySizeStringConverter.Unit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemorySizeStringConverter.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemorySizeStringConverter.Unit BEST
public static final MemorySizeStringConverter.Unit BYTE
public static final MemorySizeStringConverter.Unit KILOBYTE
public static final MemorySizeStringConverter.Unit MEGABYTE
public static final MemorySizeStringConverter.Unit GIGABYTE
public static MemorySizeStringConverter.Unit[] values()
for (MemorySizeStringConverter.Unit c : MemorySizeStringConverter.Unit.values()) System.out.println(c);
public static MemorySizeStringConverter.Unit 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 © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.