src.templates.dict.derived Maven / Gradle / Ivy
base_class: PyDictionary
want_dict: true
ctr:
incl: object
import: java.util.concurrent.ConcurrentMap
noinherit:
public PyDictionaryDerived(PyType subtype, ConcurrentMap backingMap, boolean useBackingMap) {
super(subtype, backingMap, useBackingMap);
slots=new PyObject[subtype.getNumSlots()];
dict=subtype.instDict();
if (subtype.needsFinalizer()) {
FinalizeTrigger.ensureFinalizer(this);
}
}