Package com.tnsai.coordination.council
Record Class CouncilSynthesis
java.lang.Object
java.lang.Record
com.tnsai.coordination.council.CouncilSynthesis
- Record Components:
chairmanName- the model name of the chairmansynthesis- the synthesized final answer
Chairman's synthesis (Stage 3).
- Since:
- 0.0.5
-
Constructor Summary
ConstructorsConstructorDescriptionCouncilSynthesis(String chairmanName, String synthesis) Creates an instance of aCouncilSynthesisrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thechairmanNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thesynthesisrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CouncilSynthesis
Creates an instance of aCouncilSynthesisrecord class.- Parameters:
chairmanName- the value for thechairmanNamerecord componentsynthesis- the value for thesynthesisrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. All components in this record class are compared withObjects::equals(Object,Object). -
chairmanName
Returns the value of thechairmanNamerecord component.- Returns:
- the value of the
chairmanNamerecord component
-
synthesis
Returns the value of thesynthesisrecord component.- Returns:
- the value of the
synthesisrecord component
-