public static enum StPonTest.WaveLength extends java.lang.Enum<StPonTest.WaveLength>
Enum Constant and Description |
---|
WL1300nm
wavelength 1300nm
|
WL1310nm
wavelength 1310nm
|
WL1490nm
wavelength 1490nm
|
WL1550nm
wavelength 1550nm
|
WL1625nm
wavelength 1625nm
|
WL850nm
wavelength 850nm
|
Modifier and Type | Method and Description |
---|---|
int |
getWaveLenthByNm()
Get wavelength
|
static StPonTest.WaveLength |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StPonTest.WaveLength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StPonTest.WaveLength WL850nm
public static final StPonTest.WaveLength WL1300nm
public static final StPonTest.WaveLength WL1310nm
public static final StPonTest.WaveLength WL1490nm
public static final StPonTest.WaveLength WL1550nm
public static final StPonTest.WaveLength WL1625nm
public static StPonTest.WaveLength[] values()
for (StPonTest.WaveLength c : StPonTest.WaveLength.values()) System.out.println(c);
public static StPonTest.WaveLength 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 int getWaveLenthByNm()