(value: A)
| 178 | return new PropRefImpl(this, prop) |
| 179 | } |
| 180 | set(value: A) { |
| 181 | if (Equal.equals(value, this.value)) { |
| 182 | return this |
| 183 | } |
| 184 | this.value = value |
| 185 | this.notify(value) |
| 186 | return this |
| 187 | } |
| 188 | |
| 189 | update(f: (value: A) => A) { |
| 190 | return this.set(f(this.value)) |