public enum Pollutant extends java.lang.Enum<Pollutant> implements CopertField
Modifier and Type | Method and Description |
---|---|
static Pollutant |
getValue(java.lang.String string) |
java.lang.String |
matcher()
Name of the field used to read the Copert tree.
|
static Pollutant |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Pollutant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getValue, randomSelector, valueOf
public static final Pollutant CH4
public static final Pollutant CO
public static final Pollutant FC
public static final Pollutant N2O
public static final Pollutant NH3
public static final Pollutant NOx
public static final Pollutant PM
public static final Pollutant VOC
public static Pollutant[] values()
for (Pollutant c : Pollutant.values()) System.out.println(c);
public static Pollutant 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 java.lang.String matcher()
CopertField
matcher
in interface CopertField
public static Pollutant getValue(java.lang.String string)