public static enum Synonym.Type extends Enum<Synonym.Type>
| Enum Constant and Description |
|---|
EQUAL
完全同义词,对应词典中的=号
|
LIKE
同类词,对应#
|
SINGLE
封闭词,没有同义词或同类词
|
UNDEFINED
未定义,通常属于非词典中的词
|
| Modifier and Type | Method and Description |
|---|---|
static Synonym.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Synonym.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Synonym.Type EQUAL
public static final Synonym.Type LIKE
public static final Synonym.Type SINGLE
public static final Synonym.Type UNDEFINED
public static Synonym.Type[] values()
for (Synonym.Type c : Synonym.Type.values()) System.out.println(c);
public static Synonym.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 © 2014–2021 码农场. All rights reserved.