@Test void testGreaterThan() { assertTrue(LineColumn.MAX.isGreaterThan(LineColumn.MIN)); assertFalse(LineColumn.MIN.isGreaterThan(LineColumn.MAX)); assertTrue(ZERO_ONE.isGreaterThan(ZERO_ZERO)); assertFalse(ZERO_ZERO.isGreaterThan(ZERO_ONE)); }
public boolean isGreaterThan(LineColumn other) { if (line == other.line) { return column > other.column; } else if (line > other.line) { return true; } return false; }
LineColumn { public boolean isGreaterThan(LineColumn other) { if (line == other.line) { return column > other.column; } else if (line > other.line) { return true; } return false; } }
LineColumn { public boolean isGreaterThan(LineColumn other) { if (line == other.line) { return column > other.column; } else if (line > other.line) { return true; } return false; }  }
LineColumn { public boolean isGreaterThan(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 isGreaterThan(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; }