摘要:
What is the Iterator Design Pattern? The Iterator pattern provides you with a uniform way to access different collections of Objects. If you get an Ar 阅读全文
摘要:
What is the Visitor Design Pattern? Allows us to add methods to classes of different types without much altering to those classes. We can make complet 阅读全文
摘要:
In State pattern a class behavior changes based on its state. This type of design pattern comes under behavior pattern. In State pattern, we create ob 阅读全文
摘要:
--referenced from the book "Head First Design Pattern." Publishers + Subscribers = Observer Pattern Observer pattern is used when there is one-to-many 阅读全文
摘要:
In Strategy Pattern, a class behaviour or its algorithm can be changed at run time. This type of design pattern comes under behaviour pattern. In stra 阅读全文