return newRange(firstSheet, lastSheet, tRow, lCol, bRow, rCol);
}
private static Range newRange(Worksheet firstSheet, Worksheet lastSheet, int tRow, int lCol, int bRow, int rCol) {
return tRow == bRow && lCol == rCol ?
new RangeImpl(tRow, lCol, firstSheet, lastSheet):
new RangeImpl(tRow, lCol, bRow, rCol, firstSheet, lastSheet);
}