blob: 77c3b52c6e5ea618ba336567ea3bc93658619909 [file] [log] [blame]
import java.util.Map;
class Test {
Map someMap;
public int getGetBar() {
return this.<Integer>getFoo("numberOfConfigurations");
}
protected <T> T getFoo(String key) {
return (T)someMap.get(key);
}
}