Record Class BiofeedbackService.BioPoint
java.lang.Object
java.lang.Record
com.serinity.exercicecontrol.service.BiofeedbackService.BioPoint
- Enclosing class:
BiofeedbackService
Record documentation.
-
Constructor Summary
ConstructorsConstructorDescriptionBioPoint(int bpm, int stress100) Creates an instance of aBioPointrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintbpm()Returns the value of thebpmrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thestress100record component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BioPoint
public BioPoint(int bpm, int stress100) Creates an instance of aBioPointrecord class.- Parameters:
bpm- the value for thebpmrecord componentstress100- the value for thestress100record 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 with thecomparemethod from their corresponding wrapper classes. -
bpm
public int bpm()Returns the value of thebpmrecord component.- Returns:
- the value of the
bpmrecord component
-
stress100
public int stress100()Returns the value of thestress100record component.- Returns:
- the value of the
stress100record component
-