public static enum DocumentCollection.WEIGHT extends java.lang.Enum<DocumentCollection.WEIGHT>
Modifier and Type | Method and Description |
---|---|
static DocumentCollection.WEIGHT |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DocumentCollection.WEIGHT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentCollection.WEIGHT TF
public static final DocumentCollection.WEIGHT TFIDF
public static DocumentCollection.WEIGHT[] values()
for (DocumentCollection.WEIGHT c : DocumentCollection.WEIGHT.values()) System.out.println(c);
public static DocumentCollection.WEIGHT 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(C) INRIA, Univ. Grenoble Alpes & friends, 2008-2017