RawSushi's Tech Journal
My online tech scrapbook where I keep my notes in case I need to look them up later
Friday, June 1, 2012
Java Generics: Void
Use Void when the class type in the generics is not relevant for the situation.
For example, in Wicket's AjaxLink, it doesn't always have a model. In that case we can use AjaxLink<Void>.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment