Archives by Tag 'delegate'
Strongly Java typed safe delegates
By rnaufal - Last updated: Tuesday, December 11, 2007
This great post explores an interesting Java implementation about using the delegate programming feature, in a type safe way. Delegate is a form of function pointer, commonly used to implement callbacks. It specifies a method to call, which is dispatched in runtime. From Wikipedia, we have:
The short definition is that delegation defines method dispatching the [...]