Record Class CalloutInitialValues

java.lang.Object
java.lang.Record
gg.xp.xivsupport.events.triggers.util.CalloutInitialValues
All Implemented Interfaces:
HasEvent

public record CalloutInitialValues(long ms, String tts, String text, @Nullable Event event) extends Record implements HasEvent
  • Constructor Summary

    Constructors
    Constructor
    Description
    CalloutInitialValues(long ms, String tts, String text, @Nullable Event event)
    Creates an instance of a CalloutInitialValues record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether some other object is "equal to" this one.
    @Nullable Event
    Returns the value of the event record component.
    int
    Returns a hash code value for this object.
    long
    ms()
    Returns the value of the ms record component.
    Returns the value of the text record component.
    Returns a string representation of this record class.
    tts()
    Returns the value of the tts record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CalloutInitialValues

      public CalloutInitialValues(long ms, String tts, String text, @Nullable @Nullable Event event)
      Creates an instance of a CalloutInitialValues record class.
      Parameters:
      ms - the value for the ms record component
      tts - the value for the tts record component
      text - the value for the text record component
      event - the value for the event record component
  • Method Details

    • equals

      public boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • hashCode

      public int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • toString

      public String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • ms

      public long ms()
      Returns the value of the ms record component.
      Returns:
      the value of the ms record component
    • tts

      public String tts()
      Returns the value of the tts record component.
      Returns:
      the value of the tts record component
    • text

      public String text()
      Returns the value of the text record component.
      Returns:
      the value of the text record component
    • event

      @Nullable public @Nullable Event event()
      Returns the value of the event record component.
      Specified by:
      event in interface HasEvent
      Returns:
      the value of the event record component