public static enum Lucene43EdgeNGramTokenizer.Side extends Enum<Lucene43EdgeNGramTokenizer.Side>
Enum Constant and Description |
---|
BACK
Get the n-gram from the end of the input
|
FRONT
Get the n-gram from the front of the input
|
Modifier and Type | Method and Description |
---|---|
abstract String |
getLabel() |
static Lucene43EdgeNGramTokenizer.Side |
getSide(String sideName) |
static Lucene43EdgeNGramTokenizer.Side |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Lucene43EdgeNGramTokenizer.Side[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Lucene43EdgeNGramTokenizer.Side FRONT
public static final Lucene43EdgeNGramTokenizer.Side BACK
public static Lucene43EdgeNGramTokenizer.Side[] values()
for (Lucene43EdgeNGramTokenizer.Side c : Lucene43EdgeNGramTokenizer.Side.values()) System.out.println(c);
public static Lucene43EdgeNGramTokenizer.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 nameNullPointerException
- if the argument is nullpublic abstract String getLabel()
public static Lucene43EdgeNGramTokenizer.Side getSide(String sideName)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.