@Test void testLesserThan() { assertTrue(LineColumn.MIN.isLesserThan(LineColumn.MAX)); assertFalse(LineColumn.MAX.isLesserThan(LineColumn.MIN)); assertTrue(ZERO_ZERO.isLesserThan(ZERO_ONE)); assertFalse(ZERO_ONE.isLesserThan(ZERO_ZERO)); }
public boolean isLesserThan(LineColumn other) { if (line == other.line) { return column < other.column; } else if (line < other.line) { return true; } return false; }
LineColumn { public boolean isLesserThan(LineColumn other) { if (line == other.line) { return column < other.column; } else if (line < other.line) { return true; } return false; } }
LineColumn { public boolean isLesserThan(LineColumn other) { if (line == other.line) { return column < other.column; } else if (line < other.line) { return true; } return false; }  }
LineColumn { public boolean isLesserThan(LineColumn other) { if (line == other.line) { return column < other.column; } else if (line < other.line) { return true; } return false; }  boolean isLesserThan(LineColumn other); boolean isGreaterThan(LineColumn other); @Override LineColumn clone(); }
LineColumn { public boolean isLesserThan(LineColumn other) { if (line == other.line) { return column < other.column; } else if (line < other.line) { return true; } return false; }  boolean isLesserThan(LineColumn other); boolean isGreaterThan(LineColumn other); @Override LineColumn clone(); static final LineColumn MIN; static final LineColumn MAX; }