RangeRef { @Override public String toString() { final StringBuilder sb = new StringBuilder(); try { this.write(sb); } catch (final IOException e) { throw new AssertionError(e); } return sb.toString(); } RangeRef(final TableRef tableRef, final LocalCellRef fromCellRef,
                    final LocalCellRef toCellRef); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); void write(final Appendable appendable); int getFromColumn(); int getFromRow(); int getToColumn(); int getToRow(); static final char RANGE_SEP; }
@Test public void testA1C5() { Assert.assertEquals("A1:C5", new RangeRef(null, new LocalCellRef(0, 0, 0), new LocalCellRef(4, 2, 0)) .toString()); }
@Test public void testTableA1C5() { Assert.assertEquals("t.A1:C5", new RangeRef(new TableRef(this.tableNameUtil, null, "t", 0), new LocalCellRef(0, 0, 0), new LocalCellRef(4, 2, 0)).toString()); }