发明名称 Changeable class and pattern to provide selective mutability in computer programming environments
摘要 A changeable pattern and implementation is presented in which types (used in programming environments and virtual machines) may be mutable as controlled by a programmer, and share many of the benefits of value types, without the drawbacks of value types. The changeable pattern provides flexibility for restricting the modifiability of the resultant uses of the values, as well as providing a means for providing notifications upon changes. In one implementation, a single set of changeable types is provided that derive from a common Changeable base class, and any type for which mutability is desired may derive from the Changeable class. Properties associated with the changeable define state that determines cloning and/or changeability characteristics on subsequent uses of the type. True mutability is provided via a status property of next use being set to a changeable reference state such that subsequent uses of the type do not cause a state change.
申请公布号 US7219340(B2) 申请公布日期 2007.05.15
申请号 US20030693438 申请日期 2003.10.23
申请人 MICROSOFT CORPORATION 发明人 SCHECHTER GREG D.;BEDA JOSEPH S.
分类号 G06F9/45;G06F9/44 主分类号 G06F9/45
代理机构 代理人
主权项
地址