public enum SampleField extends Enum<SampleField>
Modifier and Type | Method and Description |
---|---|
static SampleField |
fromString(String string) |
static SampleField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SampleField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SampleField SHELF
public static final SampleField BOX
public static final SampleField WELL
public static final SampleField TUBE
public static final SampleField LABEL
public static SampleField[] values()
for (SampleField c : SampleField.values()) System.out.println(c);
public static SampleField 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 SampleField fromString(String string)
Copyright © 2017. All rights reserved.