Package gg.xp.xivsupport.events.fflogs
Record Class FflogsReportLocator
java.lang.Object
java.lang.Record
gg.xp.xivsupport.events.fflogs.FflogsReportLocator
-
Constructor Summary
ConstructorsConstructorDescriptionFflogsReportLocator(String report, @Nullable Integer fight) Creates an instance of aFflogsReportLocatorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@Nullable Integerfight()Returns the value of thefightrecord component.booleanstatic FflogsReportLocatorfinal inthashCode()Returns a hash code value for this object.report()Returns the value of thereportrecord component.final StringtoString()Returns a string representation of this record class.withFight(int fight)
-
Constructor Details
-
FflogsReportLocator
Creates an instance of aFflogsReportLocatorrecord class.- Parameters:
report- the value for thereportrecord componentfight- the value for thefightrecord component
-
-
Method Details
-
fromURL
-
fightSpecified
public boolean fightSpecified() -
withFight
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
report
Returns the value of thereportrecord component.- Returns:
- the value of the
reportrecord component
-
fight
Returns the value of thefightrecord component.- Returns:
- the value of the
fightrecord component
-