public static enum HighlightComponent.HighlightMethod extends Enum<HighlightComponent.HighlightMethod>
Enum Constant and Description |
---|
FAST_VECTOR |
ORIGINAL |
POSTINGS |
UNIFIED |
Modifier and Type | Method and Description |
---|---|
String |
getMethodName() |
static HighlightComponent.HighlightMethod |
parse(String method) |
static HighlightComponent.HighlightMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HighlightComponent.HighlightMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HighlightComponent.HighlightMethod UNIFIED
public static final HighlightComponent.HighlightMethod FAST_VECTOR
public static final HighlightComponent.HighlightMethod POSTINGS
public static final HighlightComponent.HighlightMethod ORIGINAL
public static HighlightComponent.HighlightMethod[] values()
for (HighlightComponent.HighlightMethod c : HighlightComponent.HighlightMethod.values()) System.out.println(c);
public static HighlightComponent.HighlightMethod 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 getMethodName()
public static HighlightComponent.HighlightMethod parse(String method)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.