A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
RabbitMQ in Depth
this week in the
Architect Certification (SCEA/OCMJEA)
Joined: Mar 12, 2001
May 17, 2007 12:43:00
Does anyone know of an example where copying an object is more efficient than creating a new object?
Joined: Feb 05, 2003
May 17, 2007 14:18:00
Clone an array to create a copy of itself.
A good workman is known by his tools.
I agree. Here's the link:
subject: Prototype Pattern?
Examples for Builder and ProtoType
Prototype pattern same as Cloneable java interface
Simple Pattern Question
Reasons for using StringBuffer or StringBuilder classes rather than String
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015