The builder pattern is great, isn’t it? It lets you create nice immutable classes without the need for multiple constructors and it gives the API users freedom in choosing which arguments they want to use when creating the instance. But what happens when you want to tell the user that she must call one builder [...]
Builder pattern with a twist
February 7th, 2012 by Uzi Landsmann — Java, Tips & Tricks
