mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-28 15:20:54 +07:00
also to demonstrate typeParameterOf() macro GitOrigin-RevId: ba5fede72fc9391bfa4e97426b0cd706c429fa1d
14 lines
315 B
Java
14 lines
315 B
Java
import java.util.*;
|
|
|
|
class BarGoo {}
|
|
|
|
class Foo {
|
|
{
|
|
Map<String, BarGoo> goos;
|
|
for (Map.Entry<String, BarGoo> stringBarGooEntry : goos.entrySet()) {
|
|
String key = stringBarGooEntry.getKey();
|
|
BarGoo value = stringBarGooEntry.getValue();
|
|
<caret>
|
|
}
|
|
}
|
|
} |