
com.vmlens.concurrent.hashMap.HashAndEqualsIdentity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of concurrent-collections Show documentation
Show all versions of concurrent-collections Show documentation
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