What does Class<something> mean in Java?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/6607550/what-does-angle-brackets-mean-in-java">What does &lt;&gt; (angle brackets) mean in Java?</a>  </p>
</blockquote>



<p>i am reading about AsyncTask in Android and i have this example code:</p>

<pre><code>private class DownloadFilesTask extends AsyncTask&lt;URL, Integer, Long&gt; {
     protected Long doInBackground(URL... urls) {
         int count = urls.length;
         long totalSize = 0;
         for (int i = 0; i &lt; count; i++) {
             totalSize += Downloader.downloadFile(urls[i]);
             publishProgress((int) ((i / (float) count) * 100));
         }
         return totalSize;
     }

     protected void onProgressUpdate(Integer... progress) {
         setProgressPercent(progress[0]);
     }

     protected void onPostExecute(Long result) {
         showDialog("Downloaded " + result + " bytes");
     }
 }
</code></pre>

<p>And it is supposed to be called whit:</p>

<pre><code> new DownloadFilesTask().execute(url1, url2, url3);
</code></pre>

<p>I cant understand what  means, i have seen them in some other classes like String&lt;> but i dont know what is the purpose of them. Hope you can explain me :)</p>

<p>Thanks you :)</p>

<p>PD: yes i am pretty new in Java :)</p>
