If interface method has generic parameters, interface is not functional.

This commit is contained in:
Evgeny Gerashchenko
2013-03-21 21:22:38 +04:00
parent 91282b992d
commit dea7ef77ec
4 changed files with 24 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
package test;
import java.util.List;
public interface GenericMethodParameters {
<A extends CharSequence, B extends List<A>> void method(A[] a, B b);
}