This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Prototype Pattern? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Prototype Pattern?" Watch "Prototype Pattern?" New topic
Author

Prototype Pattern?

Ronnie Phelps
Ranch Hand

Joined: Mar 12, 2001
Posts: 329
Does anyone know of an example where copying an object is more efficient than creating a new object?
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

Clone an array to create a copy of itself.


A good workman is known by his tools.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Prototype Pattern?
 
It's not a secret anymore!