aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/ParameterizedType.java
blob: 24a501b3d34fe326e5fcce8048ee8fa0148646ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import java.util.*;

/*
 * test case fodder for basic member matching with parameterized types
 */
 public class ParameterizedType<T,S> {
 
 	T aTField;
 	S anSField;
 	
 	T giveMeAT() { return null; }
 	S giveMeAnS() { return null; }
 	
 	S sComesBeforeT(T t) { return null; }
 	
 	void theMadMapper(Map<T,S> aMap) {}
 
    static T convert(S s) { return null; }
 }