Patent · US Expired

Changeable class and pattern to provide selective mutability in computer programming environments

US7219340B2 · kind B2 · utility

11Cited by
3References
38Claims
0Family size

Assignee

Inventors

Key dates

Filing dateOct 23, 2003
Grant dateMay 15, 2007
Priority date
Expiry dateAug 1, 2025

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F8/31
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

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.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.