public static enum Term.Type extends Enum<Term.Type>
| Modifier and Type | Method and Description |
|---|---|
static Term.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Term.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Term.Type WORD
public static final Term.Type PHRASE
public static Term.Type[] values()
for (Term.Type c : Term.Type.values()) System.out.println(c);
public static Term.Type 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 © 2011–2020 Pivotal Software, Inc.. All rights reserved.