Patterns: Creational: Object Pool
Tags
Defines an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclasses.
Allows programmers to request object and have the correct type created behind the scene and returned.
Copyright 2018· All rights reserved