Java < and > "Parameterization" what is it?

  try{ getFittingBoard(new Topic()); }
catch (Exception e) { postHere() };

Java < and > "Parameterization" what is it?

Postby nivangerow » Thu Jan 05, 2012 6:09 pm

I have looked everywhere and I can't seem to find out what the < and > do in java. I have seen people use it in AsyncTaks 's and so on, but what does it do exactly.
nivangerow
 
Posts: 54
Joined: Fri Dec 02, 2011 8:25 pm

Re: Java < and > "Parameterization" what is it?

Postby makers-f » Thu Jan 05, 2012 11:12 pm

They are generics, an implementation of generic programming, like C++ templates.

generics documentation
makers-f
 
Posts: 36
Joined: Sat Sep 17, 2011 6:11 pm


Return to OFF-Topic

Who is online

Users browsing this forum: No registered users and 6 guests