bdh2
08/05/2016, 12:12 AMstatic class MapImpl extends HDict
{
MapImpl(HashMap map) { this.map = map; }
public int size() { return map.size(); }
public HVal get(String name, boolean checked)
{
HVal val = (HVal)map.get(name);
if (val != null) return val;
if (!checked) return null;
throw new UnknownNameException(name);
}
public Iterator iterator() { return map.entrySet().iterator(); }
private final HashMap map;
}
I'm trying to use this static inner class written in Java ( val dict : HDict = HDict.MapImpl(HashMap<String, HVal>())
) but I get this error that I can't seem to figure out Type HDict.MapImpl is inaccessible in this context due to: HDict.MapImpl
am I not able to access static inner classes in Kotlin? Or am I just doing something stupid