public enum MicroscopeType extends Enum<MicroscopeType> implements Enumeration
Enum Constant and Description |
---|
DISSECTION |
ELECTROPHYSIOLOGY |
INVERTED |
OTHER |
UPRIGHT |
Modifier and Type | Method and Description |
---|---|
static MicroscopeType |
fromString(String value) |
String |
getValue() |
String |
toString() |
static MicroscopeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MicroscopeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MicroscopeType UPRIGHT
public static final MicroscopeType INVERTED
public static final MicroscopeType DISSECTION
public static final MicroscopeType ELECTROPHYSIOLOGY
public static final MicroscopeType OTHER
private final String value
public static MicroscopeType[] values()
for (MicroscopeType c : MicroscopeType.values()) System.out.println(c);
public static MicroscopeType 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 MicroscopeType fromString(String value) throws EnumerationException
EnumerationException
public String getValue()
public String toString()
toString
in class Enum<MicroscopeType>
Copyright © 2015 Open Microscopy Environment