Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (1)
The factory pattern
no vote
Simple factory class to create the pattern, also known as the static factory method pattern. Is up to a factory  class, depending on the parameters passed to create what  An instance of the product class. Generally involves  three roles: he factory class: the role is the core of the factory method pattern, closely associated with the  application  Business logic. Factory products are created under direct calls in the client object, it is often 
20081003hou@sina.com
2016-08-23
0
1
No more~