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

com.vmlens.concurrent.hashMap.HashAndEqualsIdentity Maven / Gradle / Ivy

Go to download

This project contains a concurrent hash map which is optimized for the method computeIfAbsent.

The newest version!
package com.vmlens.concurrent.hashMap;

class HashAndEqualsIdentity  implements HashAndEquals {

	public final int hashForKey(Object key)
	{
		return  System.identityHashCode(key);	
	}
	
	
	public final boolean keyEquals(Object one , Object second)
	{
		return one == second;
	}
	
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy