EA-41372 - AIOOBE: JavaMethodsConflictResolver.isMoreSpecific

(cherry picked from commit 6f6a46ec1e26294e4a478fc6dee158123ccba406)
This commit is contained in:
anna
2012-11-26 12:55:10 +01:00
parent 135a4dec53
commit e5a6ce555d
3 changed files with 18 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
interface Func<TIn, TOut>{
TOut run(TIn in);
}
class Main {
public static void main(final String[] args) {
Func<Integer, String> func = Integer::toString;
System.out.println(func.run(6));
}
}