Class Boundary

java.lang.Object
com.github.twitch4j.eventsub.domain.Boundary

public class Boundary extends Object
  • Constructor Details

    • Boundary

      public Boundary()
    • Boundary

      public Boundary(int startPos, int endPos)
      Creates a new Boundary instance.
      Parameters:
      startPos - Index in the message for the start of the problem (0 indexed, inclusive).
      endPos - Index in the message for the end of the problem (0 indexed, inclusive).
  • Method Details

    • getStartPos

      public int getStartPos()
      Index in the message for the start of the problem (0 indexed, inclusive).
    • getEndPos

      public int getEndPos()
      Index in the message for the end of the problem (0 indexed, inclusive).
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object