Package org.omegat.core.matching
Enum NearString.MATCH_SOURCE
- java.lang.Object
-
- java.lang.Enum<NearString.MATCH_SOURCE>
-
- org.omegat.core.matching.NearString.MATCH_SOURCE
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NearString.MATCH_SOURCE>
- Enclosing class:
- NearString
public static enum NearString.MATCH_SOURCE extends java.lang.Enum<NearString.MATCH_SOURCE>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NearString.MATCH_SOURCE
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NearString.MATCH_SOURCE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MEMORY
public static final NearString.MATCH_SOURCE MEMORY
-
TM
public static final NearString.MATCH_SOURCE TM
-
FILES
public static final NearString.MATCH_SOURCE FILES
-
-
Method Detail
-
values
public static NearString.MATCH_SOURCE[] 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 (NearString.MATCH_SOURCE c : NearString.MATCH_SOURCE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NearString.MATCH_SOURCE 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
-
-