mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
made public
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user