转载http://www.cnblogs.com/guoshiwei/p/4909834.html#3292590
原型模式
原文:http://www.cnblogs.com/cty97/p/6791833.html