//一个基于弱引用的Map对象//先看构造函数publicWeakHashMap(){this(DEFAULT_INITIAL_CAPACITY,DEFAULT_LOAD_FACTOR);}publicWeakHashMap(intinitialCapacity){this(initialCapacity,DEFAULT_LOAD_FACTOR);}publicWeakHashMap(Map<?extendsK,?extendsV>m){this(Math.max((int)(m...
查看全文