Package eu.clarin.weblicht.wlfxb.lx.api
Enum CooccurrenceFunction
- java.lang.Object
-
- java.lang.Enum<CooccurrenceFunction>
-
- eu.clarin.weblicht.wlfxb.lx.api.CooccurrenceFunction
-
- All Implemented Interfaces:
Serializable
,Comparable<CooccurrenceFunction>
,java.lang.constant.Constable
public enum CooccurrenceFunction extends Enum<CooccurrenceFunction>
- Author:
- yanapanchenko
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description document
left_neighbour
right_neighbour
sentence
-
Method Summary
Modifier and Type Method Description static CooccurrenceFunction
valueOf(String name)
Returns the enum constant of this type with the specified name.static CooccurrenceFunction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
right_neighbour
public static final CooccurrenceFunction right_neighbour
-
left_neighbour
public static final CooccurrenceFunction left_neighbour
-
sentence
public static final CooccurrenceFunction sentence
-
document
public static final CooccurrenceFunction document
-
-
Method Detail
-
values
public static CooccurrenceFunction[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CooccurrenceFunction 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
-
-