blob: 098aabdbe93aadfe77a7008c52aeb508221196e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import java.util.*;
public class TestB_class {
public static void main(String []argv) {
TestB_generictype<Float,String> sc1=new TestB_generictype<Float,String>();
TestB_generictype<Integer,Float> sc2=new TestB_generictype<Integer,Float>();
List<Integer> li = new ArrayList<Integer>();
List<String> ls = new ArrayList<String>();
List<Float> lf = new ArrayList<Float>();
sc1.mxy(li,lf,ls,li);
sc2.myx(li,lf,li,li);
}
}
|