public static enum JiebaSegmenter.SegMode extends Enum<JiebaSegmenter.SegMode>
| Modifier and Type | Method and Description |
|---|---|
static JiebaSegmenter.SegMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JiebaSegmenter.SegMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JiebaSegmenter.SegMode INDEX
public static final JiebaSegmenter.SegMode SEARCH
public static JiebaSegmenter.SegMode[] values()
for (JiebaSegmenter.SegMode c : JiebaSegmenter.SegMode.values()) System.out.println(c);
public static JiebaSegmenter.SegMode 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 © 2013–2015. All rights reserved.