org.apache.commons.collections.functors
Class CloneTransformer
java.lang.Object
|
+--org.apache.commons.collections.functors.CloneTransformer
All Implemented Interfaces:
Transformer, Serializable
public class
CloneTransformerextends java.lang.Object
implements
Transformer, Serializable
Transformer implementation that returns a clone of the input object.
Clone is performed using
PrototypeFactory.getInstance(input).create()
.
- Commons Collections 3.0
- Stephen Colebourne
INSTANCE
public static final Transformer INSTANCE
Singleton predicate instance
transform
public Object transform(Object input)
Do nothing
- input
PrototypeFactory.getInstance(input).create()
.