made public

This commit is contained in:
Alexey Kudravtsev
2014-11-27 20:29:49 +03:00
parent 0353752f06
commit 093d17cc8b
2 changed files with 2 additions and 2 deletions
@@ -229,7 +229,7 @@ import java.util.concurrent.locks.LockSupport;
* @since 1.5
* @deprecated Use {@link ContainerUtil#newConcurrentMap()} instead
*/
public class ConcurrentHashMap<K, V> extends AbstractMap<K, V>
public final class ConcurrentHashMap<K, V> extends AbstractMap<K, V>
implements ConcurrentMap<K, V>, TObjectHashingStrategy<K> {
/*
@@ -35,7 +35,7 @@ import java.util.Map;
* Null values are NOT allowed
* @deprecated Use {@link ContainerUtil#createConcurrentWeakMap()} instead
*/
final class ConcurrentWeakHashMap<K, V> extends ConcurrentRefHashMap<K, V> {
public final class ConcurrentWeakHashMap<K, V> extends ConcurrentRefHashMap<K, V> {
private static class WeakKey<K, V> extends WeakReference<K> implements KeyReference<K, V> {
private final int myHash; /* Hashcode of key, stored here since the key may be tossed by the GC */
@NotNull private final TObjectHashingStrategy<K> myStrategy;