PositionUtil { public String toRangeAddress(final int row1, final int col1, final int row2, final int col2) { return this.toCellAddress(row1, col1) + ":" + this.toCellAddress(row2, col2); } PositionUtil(final TableNameUtil tableNameUtil); static PositionUtil create(); CellRef newCellRef(final String address); CellRef newCellRef(final int row, final int col); CellRef newCellRef(final Table table, final int row, final int col); String toCellAddress(final int row, final int col); String toCellAddress(final Table table, final int row, final int col); String toRangeAddress(final int row1, final int col1, final int row2, final int col2); String toRangeAddress(final Table table, final int row1, final int col1, final int row2,
                                 final int col2); void checkTableName(final CharSequence name); static final int ALPHABET_SIZE; static final int ORD_A; }
@Test public final void testRangeAddress() { Assert.assertEquals("A1:K11", this.util.toRangeAddress(0, 0, 10, 10)); }