public enum UnitsPower extends java.lang.Enum<UnitsPower> implements UnitEnum
Enum Constant and Description |
---|
ATTOWATT |
CENTIWATT |
DECAWATT |
DECIWATT |
EXAWATT |
FEMTOWATT |
GIGAWATT |
HECTOWATT |
KILOWATT |
MEGAWATT |
MICROWATT |
MILLIWATT |
NANOWATT |
PETAWATT |
PICOWATT |
TERAWATT |
WATT |
YOCTOWATT |
YOTTAWATT |
ZEPTOWATT |
ZETTAWATT |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
symbol |
Modifier and Type | Method and Description |
---|---|
static UnitsPower |
bySymbol(java.lang.String symbol) |
java.lang.String |
getSymbol() |
static UnitsPower |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UnitsPower[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitsPower YOTTAWATT
public static final UnitsPower ZETTAWATT
public static final UnitsPower EXAWATT
public static final UnitsPower PETAWATT
public static final UnitsPower TERAWATT
public static final UnitsPower GIGAWATT
public static final UnitsPower MEGAWATT
public static final UnitsPower KILOWATT
public static final UnitsPower HECTOWATT
public static final UnitsPower DECAWATT
public static final UnitsPower WATT
public static final UnitsPower DECIWATT
public static final UnitsPower CENTIWATT
public static final UnitsPower MILLIWATT
public static final UnitsPower MICROWATT
public static final UnitsPower NANOWATT
public static final UnitsPower PICOWATT
public static final UnitsPower FEMTOWATT
public static final UnitsPower ATTOWATT
public static final UnitsPower ZEPTOWATT
public static final UnitsPower YOCTOWATT
public static UnitsPower[] values()
for (UnitsPower c : UnitsPower.values()) System.out.println(c);
public static UnitsPower valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static UnitsPower bySymbol(java.lang.String symbol)
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.