Enum CategoryGroup
- java.lang.Object
-
- java.lang.Enum<CategoryGroup>
-
- net.sf.okapi.steps.wordcount.categorized.CategoryGroup
-
- All Implemented Interfaces:
Serializable,Comparable<CategoryGroup>
public enum CategoryGroup extends Enum<CategoryGroup>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GMX_CHARACTER_COUNTSGMX-V 1.0 standard character count categoriesGMX_WORD_COUNTSGMX-V 1.0 standard word count categoriesOKAPI_CHARACTER_COUNTSOkapi character count categoriesOKAPI_WORD_COUNTSOkapi word count categories
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CategoryGroupvalueOf(String name)Returns the enum constant of this type with the specified name.static CategoryGroup[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GMX_WORD_COUNTS
public static final CategoryGroup GMX_WORD_COUNTS
GMX-V 1.0 standard word count categories
-
GMX_CHARACTER_COUNTS
public static final CategoryGroup GMX_CHARACTER_COUNTS
GMX-V 1.0 standard character count categories
-
OKAPI_WORD_COUNTS
public static final CategoryGroup OKAPI_WORD_COUNTS
Okapi word count categories
-
OKAPI_CHARACTER_COUNTS
public static final CategoryGroup OKAPI_CHARACTER_COUNTS
Okapi character count categories
-
-
Method Detail
-
values
public static CategoryGroup[] 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 (CategoryGroup c : CategoryGroup.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CategoryGroup 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
-
-