Enum Constant and Description |
---|
Carbohydrates |
Lipids |
Name |
Price |
Proteins |
Unit |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
toCSV() |
static Headers |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Headers[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Headers Name
public static final Headers Unit
public static final Headers Price
public static final Headers Lipids
public static final Headers Proteins
public static final Headers Carbohydrates
public static Headers[] values()
for (Headers c : Headers.values()) System.out.println(c);
public static Headers 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 java.lang.String toCSV()