Enum StandardLexerSpecification.channels
- java.lang.Object
-
- java.lang.Enum<StandardLexerSpecification.channels>
-
- uk.ac.warwick.dcs.sherlock.module.model.base.preprocessing.StandardLexerSpecification.channels
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<StandardLexerSpecification.channels>
- Enclosing class:
- StandardLexerSpecification
public static enum StandardLexerSpecification.channels extends java.lang.Enum<StandardLexerSpecification.channels>
reference enum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMENT
DEFAULT
HIDDEN
LONG_WHITESPACE
WHITESPACE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StandardLexerSpecification.channels
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static StandardLexerSpecification.channels[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final StandardLexerSpecification.channels DEFAULT
-
HIDDEN
public static final StandardLexerSpecification.channels HIDDEN
-
WHITESPACE
public static final StandardLexerSpecification.channels WHITESPACE
-
LONG_WHITESPACE
public static final StandardLexerSpecification.channels LONG_WHITESPACE
-
COMMENT
public static final StandardLexerSpecification.channels COMMENT
-
-
Method Detail
-
values
public static StandardLexerSpecification.channels[] 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 (StandardLexerSpecification.channels c : StandardLexerSpecification.channels.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StandardLexerSpecification.channels valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-