Package cdc.util.csv.tools
Enum Anonymizer.MainArgs.Feature
- java.lang.Object
-
- java.lang.Enum<Anonymizer.MainArgs.Feature>
-
- cdc.util.csv.tools.Anonymizer.MainArgs.Feature
-
- All Implemented Interfaces:
OptionEnum,Serializable,Comparable<Anonymizer.MainArgs.Feature>
- Enclosing class:
- Anonymizer.MainArgs
public static enum Anonymizer.MainArgs.Feature extends Enum<Anonymizer.MainArgs.Feature> implements OptionEnum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JAMPRESERVE_WHITESPACES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringgetName()static Anonymizer.MainArgs.FeaturevalueOf(String name)Returns the enum constant of this type with the specified name.static Anonymizer.MainArgs.Feature[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRESERVE_WHITESPACES
public static final Anonymizer.MainArgs.Feature PRESERVE_WHITESPACES
-
JAM
public static final Anonymizer.MainArgs.Feature JAM
-
-
Method Detail
-
values
public static Anonymizer.MainArgs.Feature[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Anonymizer.MainArgs.Feature c : Anonymizer.MainArgs.Feature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Anonymizer.MainArgs.Feature valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
public final String getName()
- Specified by:
getNamein interfaceOptionEnum
-
getDescription
public final String getDescription()
- Specified by:
getDescriptionin interfaceOptionEnum
-
-