public static enum BabelfyParameters.ScoredCandidates extends java.lang.Enum<BabelfyParameters.ScoredCandidates>
| Enum Constant and Description |
|---|
ALL
Return all candidates for a fragment.
|
TOP
Return only the top ranked candidate for a fragment.
|
| Modifier and Type | Method and Description |
|---|---|
static BabelfyParameters.ScoredCandidates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BabelfyParameters.ScoredCandidates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BabelfyParameters.ScoredCandidates TOP
public static final BabelfyParameters.ScoredCandidates ALL
public static BabelfyParameters.ScoredCandidates[] values()
for (BabelfyParameters.ScoredCandidates c : BabelfyParameters.ScoredCandidates.values()) System.out.println(c);
public static BabelfyParameters.ScoredCandidates valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null