JavaProgrammingConcepts: Difference between revisions

From Wiki RB4
(New page: ==Method Chaining== This style is more popular in Smalltalk. The called method returns the called object, so it the next method can be called directly. Example: new Configuration().config...)
 
(No difference)

Latest revision as of 19:25, 12 June 2007

Method Chaining[edit]

This style is more popular in Smalltalk. The called method returns the called object, so it the next method can be called directly. Example:

new Configuration().configure().buildSessionFactory();