com.sfm.ap210.jsdai.param
Enum Unit.SiPrefix
java.lang.Object
java.lang.Enum<Unit.SiPrefix>
com.sfm.ap210.jsdai.param.Unit.SiPrefix
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Unit.SiPrefix>
- Enclosing interface:
- Unit
public static enum Unit.SiPrefix
- extends java.lang.Enum<Unit.SiPrefix>
|
Method Summary |
static Unit.SiPrefix |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Unit.SiPrefix[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
femto
public static final Unit.SiPrefix femto
pico
public static final Unit.SiPrefix pico
nano
public static final Unit.SiPrefix nano
micro
public static final Unit.SiPrefix micro
milli
public static final Unit.SiPrefix milli
kilo
public static final Unit.SiPrefix kilo
mega
public static final Unit.SiPrefix mega
giga
public static final Unit.SiPrefix giga
tera
public static final Unit.SiPrefix tera
values
public static Unit.SiPrefix[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Unit.SiPrefix c : Unit.SiPrefix.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Unit.SiPrefix valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null