public enum UnitsPower extends 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 | Method and Description |
---|---|
static UnitsPower |
bySymbol(String symbol) |
String |
getSymbol() |
static UnitsPower |
valueOf(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
protected String symbol
public static UnitsPower[] values()
for (UnitsPower c : UnitsPower.values()) System.out.println(c);
public static UnitsPower 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 static UnitsPower bySymbol(String symbol)
Version: 5.3.5-ice35-b73
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.