public enum RankingFunction extends Enum<RankingFunction>
Enum Constant and Description |
---|
EditDistance |
Stoilos |
Modifier and Type | Method and Description |
---|---|
static RankingFunction |
getFunction(String arg)
Gets the appropriate ranking function.
|
String |
getFunctionName() |
static RankingFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RankingFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RankingFunction EditDistance
public static final RankingFunction Stoilos
public static RankingFunction[] values()
for (RankingFunction c : RankingFunction.values()) System.out.println(c);
public static RankingFunction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static RankingFunction getFunction(String arg)
arg
- The name of the ranking function.public String getFunctionName()
Copyright © 2014. All rights reserved.