Class PrototypeFactory.PrototypeCloneFactory

java.lang.Object
org.apache.commons.collections.functors.PrototypeFactory.PrototypeCloneFactory
All Implemented Interfaces:
Serializable, Factory
Enclosing class:
PrototypeFactory

static class PrototypeFactory.PrototypeCloneFactory extends Object implements Factory, Serializable
PrototypeCloneFactory creates objects by copying a prototype using the clone method.
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      The serial version
      See Also:
    • iPrototype

      private final Object iPrototype
      The object to clone each time
    • iCloneMethod

      private transient Method iCloneMethod
      The method used to clone
  • Constructor Details

    • PrototypeCloneFactory

      private PrototypeCloneFactory(Object prototype, Method method)
      Constructor to store prototype.
  • Method Details