The mutator pattern

  • Authors:
  • Mirko Raner

  • Affiliations:
  • Parasoft Corporation

  • Venue:
  • Proceedings of the 2006 conference on Pattern languages of programs
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

The Mutator pattern is a simple behavioral pattern that applies a series of successive modifications to a mutable object. The Mutator pattern is similar to the Iterator pattern but operates only on a single object as opposed to a collection of objects. Mutators have a significant performance benefit in situations where a small modification to an existing object is more efficient than creating a new object from scratch.