Record Class TagParser.Point
java.lang.Object
java.lang.Record
com.puppycrawl.tools.checkstyle.checks.javadoc.TagParser.Point
- Record Components:
lineNo- Line number.columnNo- Column number.
- Enclosing class:
TagParser
Represents current position in the text.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePoint(int lineNo, int columnNo) Creates newPointinstance. -
Method Summary
Modifier and TypeMethodDescriptionintcolumnNo()Returns the value of thecolumnNorecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intlineNo()Returns the value of thelineNorecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
Point
private Point(int lineNo, int columnNo) Creates newPointinstance.- Parameters:
lineNo- line numbercolumnNo- column number
-
-
Method Details
-
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. -
lineNo
-
columnNo
-