Package gg.xp.xivsupport.events.fflogs
Record Class FflogsReportLocator
java.lang.Object
java.lang.Record
gg.xp.xivsupport.events.fflogs.FflogsReportLocator
-
Constructor Summary
ConstructorDescriptionFflogsReportLocator
(String report, @Nullable Integer fight) Creates an instance of aFflogsReportLocator
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.@Nullable Integer
fight()
Returns the value of thefight
record component.boolean
static FflogsReportLocator
final int
hashCode()
Returns a hash code value for this object.report()
Returns the value of thereport
record component.final String
toString()
Returns a string representation of this record class.withFight
(int fight)
-
Constructor Details
-
FflogsReportLocator
Creates an instance of aFflogsReportLocator
record class.- Parameters:
report
- the value for thereport
record componentfight
- the value for thefight
record 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 thereport
record component.- Returns:
- the value of the
report
record component
-
fight
Returns the value of thefight
record component.- Returns:
- the value of the
fight
record component
-