Class PrototypeFactory.PrototypeSerializationFactory<T extends Serializable>

  • 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:
        create in interface Factory<T extends Serializable>
        Returns:
        the new object