@Override public int getWidth() { return delegate.getWidth(); }
private int width() { return spreadsheet.getWidth(); }
public int getWidth() { return delegate.getWidth(); }
public SpreadsheetResultCalculator(Spreadsheet spreadsheet, IDynamicObject targetModule, Object[] params, IRuntimeEnv env, Object[][] preCalculatedResult) { super(); this.spreadsheet = spreadsheet; this.targetModule = targetModule; this.params = params; this.env = env; if (preCalculatedResult == null) this.results = new Object[spreadsheet.getHeight()][spreadsheet.getWidth()]; else this.results = clonePrecalculatedResults(preCalculatedResult); }