public static enum StandardAnalyzer.TokenType extends java.lang.Enum<StandardAnalyzer.TokenType>
| Enum Constant and Description |
|---|
ALPHANUM |
EOF |
HANGUL |
HIRAGANA |
IDEOGRAPHIC |
KATAKANA |
NUM |
SOUTHEAST_ASIAN |
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
static StandardAnalyzer.TokenType |
fromValue(int val) |
int |
getValue() |
static StandardAnalyzer.TokenType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StandardAnalyzer.TokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardAnalyzer.TokenType EOF
public static final StandardAnalyzer.TokenType ALPHANUM
public static final StandardAnalyzer.TokenType NUM
public static final StandardAnalyzer.TokenType SOUTHEAST_ASIAN
public static final StandardAnalyzer.TokenType IDEOGRAPHIC
public static final StandardAnalyzer.TokenType HIRAGANA
public static final StandardAnalyzer.TokenType KATAKANA
public static final StandardAnalyzer.TokenType HANGUL
public static StandardAnalyzer.TokenType[] values()
for (StandardAnalyzer.TokenType c : StandardAnalyzer.TokenType.values()) System.out.println(c);
public static StandardAnalyzer.TokenType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
public static StandardAnalyzer.TokenType fromValue(int val)
Copyright © 2018 The Apache Software Foundation