Class PrototypeFactory.PrototypeSerializationFactory<T extends Serializable>
- java.lang.Object
-
- org.apache.commons.collections4.functors.PrototypeFactory.PrototypeSerializationFactory<T>
-
- All Implemented Interfaces:
Factory<T>
- Enclosing class:
- PrototypeFactory
static class PrototypeFactory.PrototypeSerializationFactory<T extends Serializable> extends Object implements Factory<T>
PrototypeSerializationFactory creates objects by cloning a prototype using serialization.
-
-
Method Detail
-
create
public T create()
Creates an object using serialization.- Specified by:
createin interfaceFactory<T extends Serializable>- Returns:
- the new object
-
-