You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
391 B
15 lines
391 B
6 years ago
|
package pkg;
|
||
|
|
||
|
public class TestGenericArgs {
|
||
|
private static <T> void genericSingle(Class<T> param) { }
|
||
|
|
||
|
private static <T> void genericVarArgs(Class<T>... param) { }
|
||
|
|
||
|
private static <T> void genericArray(Class<T>[] param) { }
|
||
|
|
||
|
private static <T> void single(Class param) { }
|
||
|
|
||
|
private static <T> void varArgs(Class... param) { }
|
||
|
|
||
|
private static <T> void array(Class[] param) { }
|
||
|
}
|