public enum UnitsLength extends Enum<UnitsLength> implements UnitEnum
Enum Constant and Description |
---|
ANGSTROM |
ASTRONOMICALUNIT |
ATTOMETER |
CENTIMETER |
DECAMETER |
DECIMETER |
EXAMETER |
FEMTOMETER |
FOOT |
GIGAMETER |
HECTOMETER |
INCH |
KILOMETER |
LIGHTYEAR |
LINE |
MEGAMETER |
METER |
MICROMETER |
MILE |
MILLIMETER |
NANOMETER |
PARSEC |
PETAMETER |
PICOMETER |
PIXEL |
POINT |
REFERENCEFRAME |
TERAMETER |
THOU |
YARD |
YOCTOMETER |
YOTTAMETER |
ZEPTOMETER |
ZETTAMETER |
Modifier and Type | Method and Description |
---|---|
static UnitsLength |
bySymbol(String symbol) |
String |
getSymbol() |
static UnitsLength |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnitsLength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitsLength YOTTAMETER
public static final UnitsLength ZETTAMETER
public static final UnitsLength EXAMETER
public static final UnitsLength PETAMETER
public static final UnitsLength TERAMETER
public static final UnitsLength GIGAMETER
public static final UnitsLength MEGAMETER
public static final UnitsLength KILOMETER
public static final UnitsLength HECTOMETER
public static final UnitsLength DECAMETER
public static final UnitsLength METER
public static final UnitsLength DECIMETER
public static final UnitsLength CENTIMETER
public static final UnitsLength MILLIMETER
public static final UnitsLength MICROMETER
public static final UnitsLength NANOMETER
public static final UnitsLength PICOMETER
public static final UnitsLength FEMTOMETER
public static final UnitsLength ATTOMETER
public static final UnitsLength ZEPTOMETER
public static final UnitsLength YOCTOMETER
public static final UnitsLength ANGSTROM
public static final UnitsLength ASTRONOMICALUNIT
public static final UnitsLength LIGHTYEAR
public static final UnitsLength PARSEC
public static final UnitsLength THOU
public static final UnitsLength LINE
public static final UnitsLength INCH
public static final UnitsLength FOOT
public static final UnitsLength YARD
public static final UnitsLength MILE
public static final UnitsLength POINT
public static final UnitsLength PIXEL
public static final UnitsLength REFERENCEFRAME
protected String symbol
public static UnitsLength[] values()
for (UnitsLength c : UnitsLength.values()) System.out.println(c);
public static UnitsLength 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 UnitsLength bySymbol(String symbol)
Version: 5.2.0-ice35-b12
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.