public static enum NumberUtils.UnitDefinition extends Enum<NumberUtils.UnitDefinition>
Modifier and Type | Method and Description |
---|---|
static NumberUtils.UnitDefinition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NumberUtils.UnitDefinition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NumberUtils.UnitDefinition SI
public static final NumberUtils.UnitDefinition BINARY
public static NumberUtils.UnitDefinition[] values()
for (NumberUtils.UnitDefinition c : NumberUtils.UnitDefinition.values()) System.out.println(c);
public static NumberUtils.UnitDefinition 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 © 2015 L'Xtreme IT consultancy. All rights reserved.