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

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

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

import gnu.trove.set.hash.TCustomHashSet;
import gnu.trove.strategy.IdentityHashingStrategy;

import java.util.Collection;

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

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

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

    public TIdentityHashSet(Collection ts) {
        super(IdentityHashingStrategy.INSTANCE, ts);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy