Record Class RecordTracker.RecordProgression
java.lang.Object
java.lang.Record
org.episteme.social.sports.RecordTracker.RecordProgression
- All Implemented Interfaces:
Serializable
- Enclosing class:
RecordTracker
public static record RecordTracker.RecordProgression(String discipline, List<RecordTracker.WorldRecord> history, Real improvementRate, Real predictedNextRecord)
extends Record
implements Serializable
Analysis of record progression for a discipline.
- Since:
- 1.0
- Version:
- 1.1
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRecordProgression(String discipline, List<RecordTracker.WorldRecord> history, Real improvementRate, Real predictedNextRecord) Creates an instance of aRecordProgressionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedisciplinerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.history()Returns the value of thehistoryrecord component.Returns the value of theimprovementRaterecord component.Returns the value of thepredictedNextRecordrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RecordProgression
public RecordProgression(String discipline, List<RecordTracker.WorldRecord> history, Real improvementRate, Real predictedNextRecord) Creates an instance of aRecordProgressionrecord class.- Parameters:
discipline- the value for thedisciplinerecord componenthistory- the value for thehistoryrecord componentimprovementRate- the value for theimprovementRaterecord componentpredictedNextRecord- the value for thepredictedNextRecordrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
discipline
Returns the value of thedisciplinerecord component.- Returns:
- the value of the
disciplinerecord component
-
history
Returns the value of thehistoryrecord component.- Returns:
- the value of the
historyrecord component
-
improvementRate
Returns the value of theimprovementRaterecord component.- Returns:
- the value of the
improvementRaterecord component
-
predictedNextRecord
Returns the value of thepredictedNextRecordrecord component.- Returns:
- the value of the
predictedNextRecordrecord component
-