|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.collections15.functors.CloneTransformer<T>
public class CloneTransformer<T>
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
|
getInstance()
Factory returning the singleton instance. |
|
T |
transform(T 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 <T> Transformer<T,T> getInstance()
public T transform(T input)
transform in interface Transformer<T,T>input - the input object to transform
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||