public enum Tone extends Enum<Tone>
Enum Constant and Description |
---|
EMOTION
Emotion.
|
LANGUAGE
Language.
|
SOCIAL
Social.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Tone |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tone[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tone EMOTION
public static final Tone SOCIAL
public static final Tone LANGUAGE
public static Tone[] values()
for (Tone c : Tone.values()) System.out.println(c);
public static Tone 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 © 2015–2016 IBM Watson. All rights reserved.