|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.puppycrawl.tools.checkstyle.api.LineColumn
public class LineColumn
Immutable line and column numbers.
| Constructor Summary | |
|---|---|
LineColumn(int aLine,
int aCol)
Constructs a new pair of line and column numbers. |
|
| Method Summary | |
|---|---|
int |
compareTo(LineColumn aLineColumn)
|
int |
getColumn()
|
int |
getLine()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LineColumn(int aLine,
int aCol)
aLine - the one-based line numberaCol - the zero-based column number| Method Detail |
|---|
public int getLine()
public int getColumn()
public int compareTo(LineColumn aLineColumn)
compareTo in interface java.lang.Comparable<LineColumn>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||