Tag Archives: self-bounding generics

Builder pattern

Builder pattern is an object creation design pattern, after the ealier one –¬†Singleton. This pattern allows the client side¬†create a complex object by specifing only its type and its content. In fact, we see builder pattern in something likes that:

Builder pattern demo Continue reading