|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.collections.functors.CloneTransformer
public class CloneTransformer
Transformer implementation that returns a clone of the input object.
Clone is performed using PrototypeFactory.getInstance(input).create()
.
Field Summary | |
---|---|
static Transformer |
INSTANCE
Singleton predicate instance |
Method Summary | |
---|---|
static Transformer |
getInstance()
Factory returning the singleton instance. |
java.lang.Object |
transform(java.lang.Object input)
Transforms the input to result by cloning it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Transformer INSTANCE
Method Detail |
---|
public static Transformer getInstance()
public java.lang.Object transform(java.lang.Object input)
transform
in interface Transformer
input
- the input object to transform
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |