operator []= method

void operator []=(
  1. String sheet,
  2. Sheet sheetObject
)

If sheet does not exist then it will be automatically created with contents of sheetObject

Newly created sheet with name = sheet will have seperate reference and will not be linked to sheetObject.

Implementation

operator []=(String sheet, Sheet sheetObject) {
  _availSheet(sheet);

  _sheetMap[sheet] = Sheet._clone(this, sheet, sheetObject);
}