Record Class FirmwareVersion
java.lang.Object
java.lang.Record
com.studica.frc.FirmwareVersion
- Record Components:
major- major versionminor- minor versionpatch- patch version
A device's firmware version.
-
Constructor Summary
ConstructorsConstructorDescriptionFirmwareVersion(int major, int minor, int patch) Creates an instance of aFirmwareVersionrecord 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.intmajor()Returns the value of themajorrecord component.intminor()Returns the value of theminorrecord component.intpatch()Returns the value of thepatchrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
FirmwareVersion
-
-
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. -
major
-
minor
-
patch
-