Class PrototypeFactory.PrototypeCloneFactory<T>
java.lang.Object
org.apache.commons.collections4.functors.PrototypeFactory.PrototypeCloneFactory<T>
- All Implemented Interfaces:
Factory<T>
- Enclosing class:
PrototypeFactory
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePrototypeCloneFactory(T prototype, Method method) Constructor to store prototype. -
Method Summary
Modifier and TypeMethodDescriptioncreate()Creates an object by calling the clone method.private voidFind the Clone method for the class specified.
-
Field Details
-
iPrototype
The object to clone each time -
iCloneMethod
The method used to clone
-
-
Constructor Details
-
PrototypeCloneFactory
-
-
Method Details
-
findCloneMethod
private void findCloneMethod()Find the Clone method for the class specified. -
create
-