Record Class BiomechanicsSimulator.DynamicAnalysis
java.lang.Object
java.lang.Record
org.episteme.social.sports.BiomechanicsSimulator.DynamicAnalysis
- All Implemented Interfaces:
Serializable
- Enclosing class:
BiomechanicsSimulator
public static record BiomechanicsSimulator.DynamicAnalysis(double peakForce, double peakTorque, double peakPower, double workDone, Map<String,Double> jointTorques)
extends Record
implements Serializable
Result of kinetic/dynamic movement analysis.
- Since:
- 1.0
- Version:
- 1.1
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDynamicAnalysis(double peakForce, double peakTorque, double peakPower, double workDone, Map<String, Double> jointTorques) Creates an instance of aDynamicAnalysisrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thejointTorquesrecord component.doubleReturns the value of thepeakForcerecord component.doubleReturns the value of thepeakPowerrecord component.doubleReturns the value of thepeakTorquerecord component.final StringtoString()Returns a string representation of this record class.doubleworkDone()Returns the value of theworkDonerecord component.
-
Constructor Details
-
DynamicAnalysis
public DynamicAnalysis(double peakForce, double peakTorque, double peakPower, double workDone, Map<String, Double> jointTorques) Creates an instance of aDynamicAnalysisrecord class.- Parameters:
peakForce- the value for thepeakForcerecord componentpeakTorque- the value for thepeakTorquerecord componentpeakPower- the value for thepeakPowerrecord componentworkDone- the value for theworkDonerecord componentjointTorques- the value for thejointTorquesrecord component
-
-
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. -
peakForce
public double peakForce()Returns the value of thepeakForcerecord component.- Returns:
- the value of the
peakForcerecord component
-
peakTorque
public double peakTorque()Returns the value of thepeakTorquerecord component.- Returns:
- the value of the
peakTorquerecord component
-
peakPower
public double peakPower()Returns the value of thepeakPowerrecord component.- Returns:
- the value of the
peakPowerrecord component
-
workDone
public double workDone()Returns the value of theworkDonerecord component.- Returns:
- the value of the
workDonerecord component
-
jointTorques
-