What implementations of the Prototype Pattern exist on the Java platform?
A prototype pattern is a creational design pattern used in software development when the type of objects to create is determined by a prototypical instance, which is cloned to produce new objects.
Prototype-based programming is a style of object-oriented programming in which classes are not present, and behavior reuse (known as inheritance in class-based languages) is performed via a process of cloning existing objects that serve as prototypes.
The implementation should be aware that some Java objects are mutable, and some are immutable (see Mutable vs Immutable objects).
Using the object literal notation with jQuery
Finite State Machine in Objective-C
In that case, you can use a copy constructor..
Dynamic Casting in C#
Dealing with multiple input parameters using wrapper class
Not object although var_dump() says otherwise?
Java provides a simple interface named Cloneable that provides an implementation of the Prototype pattern.Warning: see Cloneable is broken.
If you have an object that is Cloneable, you can call its clone() method to create a new instance of the object with the same values..