public static enum Sentiment.SentimentType extends java.lang.Enum<Sentiment.SentimentType>
Enum Constant and Description |
---|
NEGATIVE
negative sentiment.
|
NEUTRAL
neutral sentiment.
|
POSITIVE
positive sentiment.
|
Modifier and Type | Method and Description |
---|---|
static Sentiment.SentimentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Sentiment.SentimentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="negative") public static final Sentiment.SentimentType NEGATIVE
@SerializedName(value="neutral") public static final Sentiment.SentimentType NEUTRAL
@SerializedName(value="positive") public static final Sentiment.SentimentType POSITIVE
public static Sentiment.SentimentType[] values()
for (Sentiment.SentimentType c : Sentiment.SentimentType.values()) System.out.println(c);
public static Sentiment.SentimentType 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 null