Record Class EmbeddingBenchRecommendation.Decision
java.lang.Object
java.lang.Record
com.tnsai.evaluation.rag.embedding.EmbeddingBenchRecommendation.Decision
- Enclosing class:
EmbeddingBenchRecommendation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thechangeProductionDefaultrecord 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 theinstallableDefaultrecord component.loser()Returns the value of theloserrecord component.Returns the value of theloserStillUsefulWhenrecord component.Returns the value of theproductionDefaultrecord component.Returns the value of thequalityOverriderecord component.Returns the value of therationalerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Decision
public Decision(String productionDefault, boolean changeProductionDefault, String installableDefault, String qualityOverride, String loser, String loserStillUsefulWhen, String rationale) Creates an instance of aDecisionrecord class.- Parameters:
productionDefault- the value for theproductionDefaultrecord componentchangeProductionDefault- the value for thechangeProductionDefaultrecord componentinstallableDefault- the value for theinstallableDefaultrecord componentqualityOverride- the value for thequalityOverriderecord componentloser- the value for theloserrecord componentloserStillUsefulWhen- the value for theloserStillUsefulWhenrecord componentrationale- the value for therationalerecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
productionDefault
Returns the value of theproductionDefaultrecord component.- Returns:
- the value of the
productionDefaultrecord component
-
changeProductionDefault
public boolean changeProductionDefault()Returns the value of thechangeProductionDefaultrecord component.- Returns:
- the value of the
changeProductionDefaultrecord component
-
installableDefault
Returns the value of theinstallableDefaultrecord component.- Returns:
- the value of the
installableDefaultrecord component
-
qualityOverride
Returns the value of thequalityOverriderecord component.- Returns:
- the value of the
qualityOverriderecord component
-
loser
Returns the value of theloserrecord component.- Returns:
- the value of the
loserrecord component
-
loserStillUsefulWhen
Returns the value of theloserStillUsefulWhenrecord component.- Returns:
- the value of the
loserStillUsefulWhenrecord component
-
rationale
Returns the value of therationalerecord component.- Returns:
- the value of the
rationalerecord component
-