Class TMIMessage.EmoteLocation

java.lang.Object
com.gmt2001.twitch.tmi.TMIMessage.EmoteLocation
Enclosing class:
TMIMessage

public final class TMIMessage.EmoteLocation extends Object
The index of an emote in the parameters
  • Method Details

    • start

      public int start()
      Returns:
      The start index for the emote text, for substring functions
    • end

      public int end()
      Returns:
      The end index for the emote text, for substring functions. Note that this is the index of the last char, not the length
    • length

      public int length()
      Returns:
      The length of the emote text
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object