Class CaughtMessageReason.Positions
java.lang.Object
com.github.twitch4j.pubsub.domain.CaughtMessageReason.Positions
- Enclosing class:
- CaughtMessageReason
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Positions
public Positions() -
Positions
public Positions(int startPos, int endPos) Creates a newPositions
instance.- Parameters:
startPos
- Zero-indexed (inclusive) starting position of the blocked termendPos
- Zero-indexed (inclusive) ending position of the blocked term
-
-
Method Details
-
getStartPos
public int getStartPos()Zero-indexed (inclusive) starting position of the blocked term -
getEndPos
public int getEndPos()Zero-indexed (inclusive) ending position of the blocked term -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-