Esempio n. 1
0
 /** Get the line number in which the match ends (zero-based). */
 public int getEndLine() {
   return linePosition.getEnd();
 }
Esempio 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());
 }