In our Training Meeting held yesterday (1/16), we discussed the usage of Wrapper Class that merely focused on the primitive type.
Our mentors provided another further perspective on the wrapping concept, which allows developers to manipulate the diversified Java Classes more efficiently.
I also found some articles with regard to this topic:
http://java.sun.com/docs/books/tutorial/essential/io/processing.html shows the most common example in wrapping.
http://jdj.sys-con.com/read/35808.htm illustrates the concept of Decorator Wrapper pattern, while http://www.javaworld.com.tw/jute/post/view?bid=25&id=12739&sty=3&keywords=Wrapper briefs the Wrapper Façade pattern.
Wrapping is a gereralized term which could be applied to many aspects, it’s hard to just define it in a few words. However, at least we know that the essential of wrapping is to wrap something. As to the benefit of wrapping, it depends on how and where you use it.
Just my two cents.
Tuesday, January 17, 2006
Wrapper!!!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment