This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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.
 
jQuery in Action, 2nd edition
 
subject: Prototype Pattern?