public enum PartOfSpeech extends Enum<PartOfSpeech>
| 列挙型定数と説明 |
|---|
adjective
Constant indicating an adjective.
|
adverb
Constant indicating an adverb.
|
noun
Constant indicating that it is some sort of noun, but proper analysis hasn't been run on it.
|
noun_common
Constant indicating a common noun.
|
noun_other
Constant indicating a noun classified as other than a common noun or proper noun.
|
noun_pronoun
Constant indicating a pronoun.
|
noun_proper
Constant indicating a proper noun.
|
other
There is classification data, but it can't be applied to the value of this enumerated type.
|
unknown
Things having no classification data.
|
verb
Constant indicating a verb.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String |
getExpression()
Gets this object's expression.
|
String |
toString()
Gets this object's array expression.
|
static PartOfSpeech |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static PartOfSpeech |
valueOfExpression(String expression)
Seeks an object from the expression.
|
static PartOfSpeech[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
static Collection<PartOfSpeech> |
valuesCollection()
Returns a collection of values.
|
public static final PartOfSpeech noun_common
public static final PartOfSpeech noun_pronoun
public static final PartOfSpeech noun_proper
public static final PartOfSpeech noun_other
public static final PartOfSpeech noun
public static final PartOfSpeech verb
public static final PartOfSpeech adjective
public static final PartOfSpeech adverb
public static final PartOfSpeech other
public static final PartOfSpeech unknown
public static PartOfSpeech[] values()
for(PartOfSpeech c: PartOfSpeech.values()) System.out.println(c);
public static PartOfSpeech valueOf(String name)
name - 返される列挙型定数の名前。IllegalArgumentException - この列挙型に、指定した名前の定数がない場合NullPointerException - 引数がnullの場合public String toString()
toString クラス内 Enum<PartOfSpeech>public String getExpression()
public static PartOfSpeech valueOfExpression(String expression)
expression - expressionpublic static Collection<PartOfSpeech> valuesCollection()
Copyright © 2019. All rights reserved.