()
| 17042 | return this |
| 17043 | } |
| 17044 | deleteDuplicates() { |
| 17045 | const set = new Set() |
| 17046 | this.topDownArray.forEach(particle => { |
| 17047 | const str = particle.toString() |
| 17048 | if (set.has(str)) particle.destroy() |
| 17049 | else set.add(str) |
| 17050 | }) |
| 17051 | return this |
| 17052 | } |
| 17053 | setAtom(index, atom) { |
| 17054 | const wi = this.atomBreakSymbol |
| 17055 | const atoms = this._getLine().split(wi) |