|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<EdgeNGramTokenFilter.Side> org.apache.lucene.analysis.ngram.EdgeNGramTokenFilter.Side
public static enum EdgeNGramTokenFilter.Side
Specifies which side of the input the n-gram should be generated from
Enum Constant Summary | |
---|---|
BACK
Get the n-gram from the end of the input |
|
FRONT
Get the n-gram from the front of the input |
Method Summary | |
---|---|
abstract String |
getLabel()
|
static EdgeNGramTokenFilter.Side |
getSide(String sideName)
|
static EdgeNGramTokenFilter.Side |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EdgeNGramTokenFilter.Side[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final EdgeNGramTokenFilter.Side FRONT
public static final EdgeNGramTokenFilter.Side BACK
Method Detail |
---|
public static EdgeNGramTokenFilter.Side[] values()
for (EdgeNGramTokenFilter.Side c : EdgeNGramTokenFilter.Side.values()) System.out.println(c);
public static EdgeNGramTokenFilter.Side valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic abstract String getLabel()
public static EdgeNGramTokenFilter.Side getSide(String sideName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |