Record Class WebEngineSupportTable.IOSMajor
java.lang.Object
java.lang.Record
com.iizix.server.webengine.WebEngineSupportTable.IOSMajor
- Record Components:
major- The iOS major version.state- Its state.latest- The latest point release, or null (carried, unused in v5: design D-4).endedOn- ForWebEngineSupportTable.IOSState.ENDED, the day the last security release came out, or null when not known.upgradeTo- ForWebEngineSupportTable.IOSState.ENDED, the major to upgrade to, or null.
- Enclosing class:
WebEngineSupportTable
public static record WebEngineSupportTable.IOSMajor(int major, WebEngineSupportTable.IOSState state, String latest, LocalDate endedOn, String upgradeTo) extends Record
One iOS major.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorsConstructorDescriptionIOSMajor(int major, WebEngineSupportTable.IOSState state, String latest, LocalDate endedOn, String upgradeTo) Creates an instance of aIOSMajorrecord class.Method Summary
Modifier and TypeMethodDescriptionendedOn()Returns the value of theendedOnrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.latest()Returns the value of thelatestrecord component.intmajor()Returns the value of themajorrecord component.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theupgradeTorecord component.
Constructor Details
IOSMajor
public IOSMajor(int major, WebEngineSupportTable.IOSState state, String latest, LocalDate endedOn, String upgradeTo) Creates an instance of aIOSMajorrecord class.
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.major
state
latest
endedOn
upgradeTo