public static enum BipolarSentiment.State extends Enum<BipolarSentiment.State>
Enum Constant and Description |
---|
NEGATIVE
negative sentiment
|
NEUTRAL
Neither positive nore negative, neutral sentiment (or objective for
example)
|
POSITIVE
positive sentiment
|
Modifier and Type | Method and Description |
---|---|
static BipolarSentiment.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BipolarSentiment.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BipolarSentiment.State POSITIVE
public static final BipolarSentiment.State NEGATIVE
public static final BipolarSentiment.State NEUTRAL
public static BipolarSentiment.State[] values()
for (BipolarSentiment.State c : BipolarSentiment.State.values()) System.out.println(c);
public static BipolarSentiment.State 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 null