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

com.maxifier.mxcache.util.TIdentityHashMap Maven / Gradle / Ivy

/*
 * Copyright (c) 2008-2014 Maxifier Ltd. All Rights Reserved.
 */
package com.maxifier.mxcache.util;

import gnu.trove.map.hash.TCustomHashMap;
import gnu.trove.strategy.IdentityHashingStrategy;

import java.util.Map;

/**
 * @author Alexander Kochurov ([email protected])
 */
public class TIdentityHashMap extends TCustomHashMap {
    public TIdentityHashMap() {
        super(IdentityHashingStrategy.INSTANCE);
    }

    public TIdentityHashMap(int initialCapacity) {
        super(IdentityHashingStrategy.INSTANCE, initialCapacity);
    }

    public TIdentityHashMap(int initialCapacity, float loadFactor) {
        super(IdentityHashingStrategy.INSTANCE, initialCapacity, loadFactor);
    }

    public TIdentityHashMap(Map kvMap) {
        super(IdentityHashingStrategy.INSTANCE, kvMap);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy