importElements(elementsCollector) {
    const elements = elementsCollector.getElements()

    for (const element of elements)
      this.addElement(element)
  }
/**
   * Import the elements from another ElementsCollector into this one
   * @param {ElementsCollector} elementsCollector
   */
Import the elements from another ElementsCollector into this one
@param {ElementsCollector} elementsCollector
Import the elements from another ElementsCollector into this one @param { ElementsCollector } elementsCollector
importElements(elementsCollector) {
    const elements = elementsCollector.getElements()
    for (const element of elements)
      this.addElement(element)
  }
importElements ( elementsCollector ) { const elements = elementsCollector . getElements ( ) for ( const element of elements ) this . addElement ( element ) }
Import the elements from another ElementsCollector into this one
 @param {ElementsCollector} elementsCollector
Import the elements from another ElementsCollector into this one @param { ElementsCollector } elementsCollector