Class LineColumn
java.lang.Object
com.puppycrawl.tools.checkstyle.api.LineColumn
- All Implemented Interfaces:
 Comparable<LineColumn>
Immutable line and column numbers.
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionLineColumn(int line, int column) Constructs a new pair of line and column numbers. - 
Method Summary
 
- 
Field Details
- 
line
The one-based line number. - 
column
The zero-based column number. 
 - 
 - 
Constructor Details
- 
LineColumn
Constructs a new pair of line and column numbers.- Parameters:
 line- the one-based line numbercolumn- the zero-based column number
 
 - 
 - 
Method Details
- 
getLine
Gets the one-based line number.- Returns:
 - the one-based line number
 
 - 
getColumn
Gets the zero-based column number.- Returns:
 - the zero-based column number
 
 - 
compareTo
- Specified by:
 compareToin interfaceComparable<LineColumn>
 - 
equals
 - 
hashCode
 
 -