public static enum HumanReadableSize.Unit extends Enum<HumanReadableSize.Unit>
| Modifier and Type | Method and Description |
|---|---|
static HumanReadableSize.Unit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HumanReadableSize.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HumanReadableSize.Unit K
public static final HumanReadableSize.Unit M
public static final HumanReadableSize.Unit G
public static HumanReadableSize.Unit[] values()
for (HumanReadableSize.Unit c : HumanReadableSize.Unit.values()) System.out.println(c);
public static HumanReadableSize.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 © 2020–2022 ICIJ. All rights reserved.