@Test void testContains() { assertTrue(range.contains(new LineColumn(1, 3))); assertFalse(range.contains(new LineColumn(0, 0))); assertFalse(range.contains(new LineColumn(5, 6))); }
public boolean contains(LineColumn position) { return position.isGreaterThan(start) && position.isLesserThan(end); }
Range { public boolean contains(LineColumn position) { return position.isGreaterThan(start) && position.isLesserThan(end); } }
Range { public boolean contains(LineColumn position) { return position.isGreaterThan(start) && position.isLesserThan(end); } Range(); }
Range { public boolean contains(LineColumn position) { return position.isGreaterThan(start) && position.isLesserThan(end); } Range(); void add(LineColumn position); void add(Range... ranges); void add(Range range); boolean contains(LineColumn position); @Override Range clone(); }
Range { public boolean contains(LineColumn position) { return position.isGreaterThan(start) && position.isLesserThan(end); } Range(); void add(LineColumn position); void add(Range... ranges); void add(Range range); boolean contains(LineColumn position); @Override Range clone();  }