mutable
将一个不可变数据包装为可变数据,并提供并发安全的更新方式。
请不要对 MutableCollection 这类本身可变的数据调用 mutable。
Parameters
on Change
当数据被修改后执行的 lambda。
Throws
Deprecated (with error)
Already a Mutable object. Avoid nesting.
尽可能地在编译器拦截对 Mutable 的 mutable 调用,前提是匹配到此重载。
Deprecated (with error)
Already a Mutable object. Avoid nesting.
尽可能地在编译器拦截对 MutableCollection 的 mutable 调用,前提是匹配到此重载。
Deprecated (with error)
Already a Mutable object. Avoid nesting.
尽可能地在编译器拦截对 MutableMap 的 mutable 调用,前提是匹配到此重载。