예제 #1
0
 public static boolean containsCell(CellRangeAddress cr, int rowIx, int colIx) {
   if (cr.getFirstRow() <= rowIx
       && cr.getLastRow() >= rowIx
       && cr.getFirstColumn() <= colIx
       && cr.getLastColumn() >= colIx) {
     return true;
   }
   return false;
 }