public class Sentiment extends Object
| Constructor and Description |
|---|
Sentiment(String sentimentName,
int sentimentValue)
Creates a new Sentiment.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSentimentName()
Gets the name of the sentiment.
|
int |
getSentimentValue()
Gets the integer value of the sentiment.
|
public Sentiment(String sentimentName, int sentimentValue)
sentimentName - The name the sentiment.sentimentValue - The value of the sentiment.public String getSentimentName()
public int getSentimentValue()
Copyright © 2018. All rights reserved.