| java.lang.Object com.puppycrawl.tools.checkstyle.checks.indentation.LineSet
LineSet | public class LineSet (Code) | | Represents a set of lines.
author: jrichard |
addLineAndCol | public void addLineAndCol(Integer aLineNum, int aCol)(Code) | | Add a line to this set of lines.
Parameters: aLineNum - the line to add Parameters: aCol - the starting column of the new line |
firstLine | public int firstLine()(Code) | | Get the line number of the first line.
the line number of the first line |
firstLineCol | public int firstLineCol()(Code) | | Get the starting column for the first line.
the starting column for the first line. |
getStartColumn | public Integer getStartColumn(Integer aLineNum)(Code) | | Get the starting column for a given line number.
Parameters: aLineNum - the specified line number the starting column for the given line number |
isEmpty | public boolean isEmpty()(Code) | | Determines if this set of lines is empty.
true if it is empty, false otherwise |
lastLine | public int lastLine()(Code) | | Get the line number of the last line.
the line number of the last line |
toString | public String toString()(Code) | | string representation |
|
|