public Map createFormulaSheetMap() { Map formulas = new HashMap(); for (int i = 0, c = sheets.size(); i < c; i++) { Sheet sheet = (Sheet) sheets.get(i); formulas.put(sheet.getSheetName(), SheetHelper.findFormulas(sheet)); } return formulas; }
public List findFormulas() { List formulas = new ArrayList(); for (int i = 0, c = sheets.size(); i < c; i++) { Sheet sheet = (Sheet) sheets.get(i); formulas.addAll(SheetHelper.findFormulas(sheet)); } return formulas; }