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

org.psjava.ds.map.hashtable.OpenAddressingHashTableFactory Maven / Gradle / Ivy

There is a newer version: 0.1.19
Show newest version
package org.psjava.ds.map.hashtable;

import org.psjava.ds.map.MutableMap;
import org.psjava.ds.map.MutableMapFactory;

public class OpenAddressingHashTableFactory {

	private static final HashProber PROBING = LinearProbing.create();

	private static final MutableMapFactory INSTANCE = new MutableMapFactory() {
		@Override
		public  MutableMap create() {
			return new OpenAddressingHashTable(PROBING, 1);
		}
	};

	public static MutableMapFactory getInstance() {
		return INSTANCE;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy