Record Class Point
java.lang.Object
java.lang.Record
io.github.treesitter.jtreesitter.Point
- Record Components:
row- The zero-based row of the document.column- The zero-based column of the document.
- All Implemented Interfaces:
Comparable<Point>
A position in a text document in terms of rows and columns.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcolumn()Returns the value of thecolumnrecord component.intfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.introw()Returns the value of therowrecord component.toString()Returns a string representation of this record class.
-
Field Details
-
MIN
-
MAX
-
-
Constructor Details
-
Point
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<Point>
-
toString
-
hashCode
-
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 with thecomparemethod from their corresponding wrapper classes. -
row
-
column
-