摘要:
Purpose The good point over the SimpleFactory is you can subclass it to implement different ways to create objects. For simple cases, this abstract cl 阅读全文
posted @ 2019-05-07 16:09
Victor!!!!
阅读(159)
评论(0)
推荐(0)
摘要:
Purpose: Builder is an interface that build parts of a complex object. Sometimes, if the builder has a better knowledge of what it builds, this interf 阅读全文
posted @ 2019-05-07 15:57
Victor!!!!
阅读(155)
评论(0)
推荐(0)
摘要:
Creational Creational Design Patterns are design patterns that deal with object creation mechanisms, trying to create objects in a manner suitable to 阅读全文
posted @ 2019-05-07 15:05
Victor!!!!
阅读(129)
评论(0)
推荐(0)
摘要:
To Start working with DateTime, convert raw date and time string to an object with createFromFormat() factory method or do new DateTime to get the cur 阅读全文
posted @ 2019-05-07 11:32
Victor!!!!
阅读(232)
评论(0)
推荐(0)