KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > test > java > hints > AddCast11


1 package org.netbeans.test.java.hints;
2
3 import java.util.ArrayList JavaDoc;
4 import java.util.List JavaDoc;
5
6 public class AddCast11 {
7     
8     public AddCast11() {
9     }
10     
11     public <T extends CharSequence JavaDoc> void doSomething() {
12         List JavaDoc<CharSequence JavaDoc> l2 = new ArrayList JavaDoc<T>();
13     }
14     
15 }
16
Popular Tags