primaryFactor
Returns the value of the
primaryFactor record component.- Returns:
- the value of the
primaryFactorrecord component
SerializableInjuryPredictorInjuryRisk(InjuryPredictor.InjuryType type,
double probability,
String primaryFactor,
List<String> recommendations) InjuryRisk record class.final booleanfinal inthashCode()primaryFactor record component.doubleprobability record component.recommendations record component.final StringtoString()type()type record component.InjuryRisk record class.type - the value for the type record componentprobability - the value for the probability record componentprimaryFactor - the value for the primaryFactor record componentrecommendations - the value for the recommendations record componentObjects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.type record component.type record componentprobability record component.probability record componentprimaryFactor record component.primaryFactor record component