All Downloads are FREE. Search and download functionalities are using the official Maven repository.

vlsi.utils.CompactHashMapClassWithDefaults Maven / Gradle / Ivy

There is a newer version: 0.40.13
Show newest version
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