@Test public void getOffset() { assertEquals(0, new Line(1, 0, "abc").getOffset()); assertEquals(1, new Line(1, 1, "abc").getOffset()); }
public int getOffset() { return offset; }
Line { public int getOffset() { return offset; } }
Line { public int getOffset() { return offset; } Line(int lineNumber, int offset, String text); }
Line { public int getOffset() { return offset; } Line(int lineNumber, int offset, String text); boolean isEmpty(); String getText(); int getOffset(); int getLineNumber(); Line segment(int offset, int length); Locator toLocator(); @Override String toString(); }
Line { public int getOffset() { return offset; } Line(int lineNumber, int offset, String text); boolean isEmpty(); String getText(); int getOffset(); int getLineNumber(); Line segment(int offset, int length); Locator toLocator(); @Override String toString();  }