vlsi.utils.CompactHashMapClassWithDefaults Maven / Gradle / Ivy
package vlsi.utils;
import java.util.Map;
class CompactHashMapClassWithDefaults extends CompactHashMapClass {
private final Map defaultValues;
private final CompactHashMapClassEmptyDefaults mapClassEmptyDefaults;
public CompactHashMapClassWithDefaults(
com.github.andrewoma.dexx.collection.Map key2Slot,
Map defaultValues,
CompactHashMapClassEmptyDefaults mapClassEmptyDefaults) {
super(key2Slot);
this.defaultValues = defaultValues;
this.mapClassEmptyDefaults = mapClassEmptyDefaults;
}
@Override
protected Map getDefaultValues() {
return defaultValues;
}
@Override
protected CompactHashMapClassEmptyDefaults getMapWithEmptyDefaults() {
return mapClassEmptyDefaults;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy