Method chaining is very cool. Basically, it allows you to turn this code:
Car hondaFit = new Car();
hondaFit.setColor(Car.Colors.BLACK);
hondaFit.setStyle(Car.Styles.SPORT);
etc.
To:
Car hondaFit = new Car().
setColor(Car.Colors.BLACK).
setStyle(Car.Styles.SPORT);
Pretty cool. It makes Java/C# style languages function similar to Ruby and it also saves some space when setting a lot of attributes at once.
Implementation is pretty simple. All you have to [...]