View RSS Feed

Recent Blogs Posts

  1. Construction for Your Java Classes with Many Parameters

    by , 11-29-2011 at 02:10 AM
    Traditionally when programmers have to create a constructor that has lots of parameters, some that are required and other that are optional, they often will either build several constructors or use the telescoping constructor pattern. For those of you not aware, the telescoping constructor pattern is where you provide constructors for the class with the required parameters, and then others constructors that cover the other optional parameters. So depending on the number of parameters and whether ...

    Updated 11-30-2011 at 03:06 PM by Design Patterns

    Categories
    Builder Pattern