public static enum TermUtil.InsertTermType extends Enum<TermUtil.InsertTermType>
| Enum Constant and Description |
|---|
REPLACE
替换 1
|
SCORE_ADD_SORT
累积分值 保证顺序,由大到小 2
|
SKIP
跳过 0
|
| Modifier and Type | Method and Description |
|---|---|
static TermUtil.InsertTermType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TermUtil.InsertTermType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TermUtil.InsertTermType SKIP
public static final TermUtil.InsertTermType REPLACE
public static final TermUtil.InsertTermType SCORE_ADD_SORT
public static TermUtil.InsertTermType[] values()
for (TermUtil.InsertTermType c : TermUtil.InsertTermType.values()) System.out.println(c);
public static TermUtil.InsertTermType 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 © 2017. All rights reserved.