public static enum UnitConvKit.Unit extends Enum<UnitConvKit.Unit>
| Modifier and Type | Method and Description |
|---|---|
static UnitConvKit.Unit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnitConvKit.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitConvKit.Unit BIT
public static final UnitConvKit.Unit BYTE
public static final UnitConvKit.Unit KB
public static final UnitConvKit.Unit MB
public static final UnitConvKit.Unit GB
public static UnitConvKit.Unit[] values()
for (UnitConvKit.Unit c : UnitConvKit.Unit.values()) System.out.println(c);
public static UnitConvKit.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 © 2018. All rights reserved.