public TempHashMap(int initialCapacity, float loadFactor, CreateEntryDelegate createEntryDelegate, EqualsKeysDelegate equalsKeysDelegate, ExtractHashDelegate equalsHashDelegate, SetNextEntryDelegate setNextEntryDelegate, SetValueForEntryDelegate setValueForEntryDelegate) : base(initialCapacity, loadFactor) { this.createEntryDelegate = createEntryDelegate; this.equalsKeysDelegate = equalsKeysDelegate; this.extractHashDelegate = equalsHashDelegate; this.setNextEntryDelegate = setNextEntryDelegate; this.setValueForEntryDelegate = setValueForEntryDelegate; }
public TempHashSet(int initialCapacity, float loadFactor, EqualsKeysDelegate equalsKeysDelegate, ExtractHashDelegate equalsHashDelegate) : base(initialCapacity, loadFactor) { this.equalsKeysDelegate = equalsKeysDelegate; this.extractHashDelegate = equalsHashDelegate; }
public TempHashSet(int initialCapacity, EqualsKeysDelegate equalsKeysDelegate, ExtractHashDelegate extractHashDelegate) : base(initialCapacity, DEFAULT_LOAD_FACTOR) { this.equalsKeysDelegate = equalsKeysDelegate; this.extractHashDelegate = extractHashDelegate; }
public TempHashSet(float loadFactor, EqualsKeysDelegate equalsKeysDelegate, ExtractHashDelegate extractHashDelegate) : base(DEFAULT_INITIAL_CAPACITY, loadFactor) { this.equalsKeysDelegate = equalsKeysDelegate; this.extractHashDelegate = extractHashDelegate; }
public TempHashSet(EqualsKeysDelegate equalsKeysDelegate, ExtractHashDelegate extractHashDelegate) : base(DEFAULT_INITIAL_CAPACITY, DEFAULT_LOAD_FACTOR) { this.equalsKeysDelegate = equalsKeysDelegate; this.extractHashDelegate = extractHashDelegate; }
public static TempHashSet <K> Create(int size, EqualsKeysDelegate equalsKeysDelegate, ExtractHashDelegate equalsHashDelegate) { return(new TempHashSet <K>((int)(size / DEFAULT_LOAD_FACTOR) + 1, equalsKeysDelegate, equalsHashDelegate)); }