mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
IDEA-161862 Lambda Expressions not showing as implementations of an interface
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
class A {
|
||||
|
||||
void foo() {
|
||||
new IterHelper<>().loopMap((k, val) -> {
|
||||
//do something
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
final class IterHelper<K, V> {
|
||||
public void loopMap(final MapIterCallback<K, V> callback) {
|
||||
//do something
|
||||
}
|
||||
public static interface MapIterCallback<K, V> {
|
||||
abstract void eval(K k, V v);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user