|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.puppycrawl.tools.checkstyle.checks.indentation.LineSet
public class LineSet
Represents a set of lines.
| Constructor Summary | |
|---|---|
LineSet()
|
|
| Method Summary | |
|---|---|
void |
addLineAndCol(int aLineNum,
int aCol)
Add a line to this set of lines. |
int |
firstLine()
Get the line number of the first line. |
int |
firstLineCol()
Get the starting column for the first line. |
Integer |
getStartColumn(Integer aLineNum)
Get the starting column for a given line number. |
boolean |
isEmpty()
Determines if this set of lines is empty. |
int |
lastLine()
Get the line number of the last line. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LineSet()
| Method Detail |
|---|
public Integer getStartColumn(Integer aLineNum)
aLineNum - the specified line number
public int firstLineCol()
public int firstLine()
public int lastLine()
public void addLineAndCol(int aLineNum,
int aCol)
aLineNum - the line to addaCol - the starting column of the new linepublic boolean isEmpty()
public String toString()
toString in class Object
|
Back to the Checkstyle Home Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||