public static enum TextIndex.LocalTermWeights extends Enum<TextIndex.LocalTermWeights> implements StringValue<TextIndex.LocalTermWeights>
| Enum Constant and Description |
|---|
AUGMENTED_NORMALIZED_TERM_FREQUENCY |
BINARY |
LOGARITHMIC |
TERM_FREQUENCY |
| Modifier and Type | Method and Description |
|---|---|
static TextIndex.LocalTermWeights |
fromValue(String v) |
String |
toString() |
String |
value() |
static TextIndex.LocalTermWeights |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextIndex.LocalTermWeights[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextIndex.LocalTermWeights TERM_FREQUENCY
public static final TextIndex.LocalTermWeights BINARY
public static final TextIndex.LocalTermWeights LOGARITHMIC
public static final TextIndex.LocalTermWeights AUGMENTED_NORMALIZED_TERM_FREQUENCY
public static TextIndex.LocalTermWeights[] values()
for (TextIndex.LocalTermWeights c : TextIndex.LocalTermWeights.values()) System.out.println(c);
public static TextIndex.LocalTermWeights 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 String value()
value in interface StringValue<TextIndex.LocalTermWeights>public static TextIndex.LocalTermWeights fromValue(String v)
public String toString()
toString in class Enum<TextIndex.LocalTermWeights>Copyright © 2024. All rights reserved.