|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.collections.functors.CloneTransformer
public class CloneTransformer
Transformer implementation that returns a clone of the input object.
Clone is performed usingPrototypeFactory.getInstance(input).create().
| Field Summary | |
|---|---|
static Transformer |
INSTANCE
Singleton predicate instance |
| Method Summary | |
|---|---|
static Transformer |
getInstance()
Factory returning the singleton instance. |
Object |
transform(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 Object transform(Object input)
transform in interface Transformerinput - the input object to transform
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||