JavaProgrammingConcepts: Difference between revisions
(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();