public static enum Terms.ValueType extends Enum<Terms.ValueType>
Modifier and Type | Method and Description |
---|---|
static Terms.ValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Terms.ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Terms.ValueType STRING
public static final Terms.ValueType LONG
public static final Terms.ValueType DOUBLE
public static Terms.ValueType[] values()
for (Terms.ValueType c : Terms.ValueType.values()) System.out.println(c);
public static Terms.ValueType 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 nullCopyright © 2009–2017. All rights reserved.