public enum UnitsLength extends java.lang.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 | Field and Description |
---|---|
protected java.lang.String |
symbol |
Modifier and Type | Method and Description |
---|---|
static UnitsLength |
bySymbol(java.lang.String symbol) |
java.lang.String |
getSymbol() |
static UnitsLength |
valueOf(java.lang.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
public static UnitsLength[] values()
for (UnitsLength c : UnitsLength.values()) System.out.println(c);
public static UnitsLength 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 UnitsLength bySymbol(java.lang.String symbol)
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.