/** * Construct a new map with the same mappings as the specified map. * * @param map the map whose mappings are to be copied */ public WeakFastHashMap(final Map<? extends K, ? extends V> map) { super(); this.map = createMap(map); }
/** * Construct a new map with the same mappings as the specified map. * * @param map the map whose mappings are to be copied */ public WeakFastHashMap(final Map<? extends K, ? extends V> map) { super(); this.map = createMap(map); }
/** * Construct an empty map. */ public WeakFastHashMap() { super(); this.map = createMap(); }
/** * Construct an empty map with the specified capacity. * * @param capacity the initial capacity of the empty map */ public WeakFastHashMap(final int capacity) { super(); this.map = createMap(capacity); }
/** * Construct an empty map with the specified capacity and load factor. * * @param capacity the initial capacity of the empty map * @param factor the load factor of the new map */ public WeakFastHashMap(final int capacity, final float factor) { super(); this.map = createMap(capacity, factor); }
protected Map<K, V> cloneMap(final Map<? extends K, ? extends V> map) { return createMap(map); }
/** * Construct an empty map with the specified capacity. * * @param capacity the initial capacity of the empty map */ public WeakFastHashMap(final int capacity) { super(); this.map = createMap(capacity); }
/** * Construct an empty map. */ public WeakFastHashMap() { super(); this.map = createMap(); }
/** * Construct an empty map with the specified capacity and load factor. * * @param capacity the initial capacity of the empty map * @param factor the load factor of the new map */ public WeakFastHashMap(final int capacity, final float factor) { super(); this.map = createMap(capacity, factor); }
protected Map<K, V> cloneMap(final Map<? extends K, ? extends V> map) { return createMap(map); }
public void clear() { if (fast) { synchronized (WeakFastHashMap.this) { map = createMap(); } } else { synchronized (map) { get(map).clear(); } } }
public void clear() { if (fast) { synchronized (WeakFastHashMap.this) { map = createMap(); } } else { synchronized (map) { get(map).clear(); } } }
/** * Construct an empty map. */ public WeakFastHashMap() { super(); this.map = createMap(); }
/** * Construct an empty map with the specified capacity. * * @param capacity the initial capacity of the empty map */ public WeakFastHashMap(int capacity) { super(); this.map = createMap(capacity); }
/** * Construct an empty map. */ public WeakFastHashMap() { super(); this.map = createMap(); }
/** * Construct a new map with the same mappings as the specified map. * * @param map the map whose mappings are to be copied */ public WeakFastHashMap(Map map) { super(); this.map = createMap(map); }
/** * Construct an empty map with the specified capacity. * * @param capacity the initial capacity of the empty map */ public WeakFastHashMap(int capacity) { super(); this.map = createMap(capacity); }
/** * Construct a new map with the same mappings as the specified map. * * @param map the map whose mappings are to be copied */ public WeakFastHashMap(Map map) { super(); this.map = createMap(map); }
/** * Construct a new map with the same mappings as the specified map. * * @param map the map whose mappings are to be copied */ public WeakFastHashMap(Map map) { super(); this.map = createMap(map); }
/** * Construct an empty map with the specified capacity. * * @param capacity the initial capacity of the empty map */ public WeakFastHashMap(final int capacity) { super(); this.map = createMap(capacity); }