public static enum JapaneseTokenizer.Favor extends java.lang.Enum<JapaneseTokenizer.Favor>
Modifier and Type | Method and Description |
---|---|
static JapaneseTokenizer.Favor |
getEnum(java.lang.String str) |
java.lang.String |
toString() |
static JapaneseTokenizer.Favor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JapaneseTokenizer.Favor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JapaneseTokenizer.Favor PRECISION
public static final JapaneseTokenizer.Favor RECALL
public static JapaneseTokenizer.Favor[] values()
for (JapaneseTokenizer.Favor c : JapaneseTokenizer.Favor.values()) System.out.println(c);
public static JapaneseTokenizer.Favor 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 java.lang.String toString()
toString
in class java.lang.Enum<JapaneseTokenizer.Favor>
public static JapaneseTokenizer.Favor getEnum(java.lang.String str)
Copyright © 2013 Dassault Systèmes, All Rights Reserved.