The Prototype pattern provides an alternative method for instantiating an object by copying (or cloning) an instance of an existing object. This chapter explains this pattern and its usefulness with simple examples.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Prototype Pattern

  • Vaskaran Sarcar

摘要

The Prototype pattern provides an alternative method for instantiating an object by copying (or cloning) an instance of an existing object. This chapter explains this pattern and its usefulness with simple examples.