blob: cd429a83a41c5c5202171ed5b55e8efe023de397 [file] [log] [blame]
package p;
public class TypeParam_in {
public void foo() {
Cell<String> cs1= new Cell<String>("");
Cell<Integer> cs2= new Cell<Integer>(3);
Cell<Float> cs3= new Cell<Float>(3.14F);
}
}
class Cell<T> {
T fData;
public /*[*/Cell/*]*/(T t) {
fData= t;
}
}