# 原型模式的实现 和理解prototype **Repository Path**: weiyushan3/prototype ## Basic Information - **Project Name**: 原型模式的实现 和理解prototype - **Description**: 原型模式的实现 和理解 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-05-06 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 原型模式 理解:直接获取对象的实例,不去关注获取对象的过程。 原型模式有2种 浅克隆-深克隆 浅克隆:只是克隆的对象的应用地址 深克隆: 克隆出了另一个对象 应用地址不一样 值一样