Exemplo n.º 1
0
 /** Get the line number in which the match ends (zero-based). */
 public int getEndLine() {
   return linePosition.getEnd();
 }
Exemplo n.º 2
0
 /** Set the line number in which the match occurs (zero-based). */
 public void setLine(final int fromLine) {
   linePosition = new LinePosition(fromLine, linePosition.getEnd());
 }