Record Class LinguisticData.SentimentPoint
java.lang.Object
java.lang.Record
org.episteme.social.linguistics.LinguisticData.SentimentPoint
- Enclosing class:
LinguisticData
-
Constructor Summary
ConstructorsConstructorDescriptionSentimentPoint(double time, Real score, String context) Creates an instance of aSentimentPointrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncontext()Returns the value of thecontextrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.score()Returns the value of thescorerecord component.doubletime()Returns the value of thetimerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SentimentPoint
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
time
public double time()Returns the value of thetimerecord component.- Returns:
- the value of the
timerecord component
-
score
Returns the value of thescorerecord component.- Returns:
- the value of the
scorerecord component
-
context
Returns the value of thecontextrecord component.- Returns:
- the value of the
contextrecord component
-