public static enum Quantity.Format extends Enum<Quantity.Format>
| Enum Constant and Description |
|---|
BINARY_SI |
DECIMAL_EXPONENT |
DECIMAL_SI |
| Modifier and Type | Method and Description |
|---|---|
int |
getBase() |
static Quantity.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Quantity.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Quantity.Format DECIMAL_EXPONENT
public static final Quantity.Format DECIMAL_SI
public static final Quantity.Format BINARY_SI
public static Quantity.Format[] values()
for (Quantity.Format c : Quantity.Format.values()) System.out.println(c);
public static Quantity.Format 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 nullpublic int getBase()
Copyright © 2021. All rights reserved.