项目作者: Design-pattrns
项目描述 :
Prototype pattern is one of the Creational Design pattern, so it provides a mechanism of object creation. Prototype pattern is used when the Object creation is a costly affair and requires a lot of time and resources and you have a similar object already existing. So this pattern provides a mechanism to copy the original object to a new object and then modify it according to our needs. This pattern uses Java cloning to copy the object.
高级语言: Java
项目地址: git://github.com/Design-pattrns/Prototype-Pattern.git