Patents
US 7,219,340 B2#5440828 Most CitedExpiredUnited States (USPTO)Utility

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

17Forward Citations (#5440828 Global)
0.9/yrCitation Velocity (#8052418 Global)
2.26Citation PageRank (#11962741 Global)
12Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

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.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 17.

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    In a computing environment, a method comprising: maintaining a base class, the base class comprising two properties, isChangeable and statusOfNextUse; receiving a request for a type, the type deriving from the base class and inheriting the properties of the base class; causing the type to be created, and upon being created, the type's isChangeable property set to allow a change, and the type's statusOfNextUse property set not to allow a change upon a next qualified use; and upon a next qualified use, causing the type to be cloned, the cloned type having an isChangable property set not

  2. Claim 2Depends on #1

    The method of claim 1 further comprising, receiving a request to copy the type, and in response, causing the type to be cloned, the cloned type having a changeable property set to allow a change and a status property set to allow a change upon a next

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (1)

  • Ostermann et al. Object Oriented Composition Untangled, 2001, ACM, p. 283-299.