发明申请
US20050091637A1 Changeable class and pattern to provide selective mutability in computer programming environments 失效
在计算机编程环境中提供可选择的可变性的可变类和模式

  • 专利标题: Changeable class and pattern to provide selective mutability in computer programming environments
  • 专利标题(中): 在计算机编程环境中提供可选择的可变性的可变类和模式
  • 申请号: US10693438
    申请日: 2003-10-23
  • 公开(公告)号: US20050091637A1
    公开(公告)日: 2005-04-28
  • 发明人: Greg SchechterJoseph Beda
  • 申请人: Greg SchechterJoseph Beda
  • 申请人地址: US WA Redmond
  • 专利权人: Microsoft Corporation
  • 当前专利权人: Microsoft Corporation
  • 当前专利权人地址: US WA Redmond
  • 主分类号: G06F9/44
  • IPC分类号: G06F9/44
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.
信息查询
0/0