(hash)
| 181 | } |
| 182 | |
| 183 | updateHashCode(hash) { |
| 184 | if (this.readOnly) { |
| 185 | if (this.cachedHashCode === -1) { |
| 186 | this.cachedHashCode = this.hashCode(); |
| 187 | } |
| 188 | hash.update(this.cachedHashCode); |
| 189 | } else { |
| 190 | hash.update(this.hashCode()); |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | isEmpty() { |
| 195 | return this.configs.length === 0; |