Because this is such a common use for weak references, WeakHashMap, which USES weak references for keys (but not for values), was also added to the class library in JDK 1.2.
因为这是弱引用最常见的用法,WeakHashMap也被添加到JD k 1.2的类库中,它对键(而不是对值)使用弱引用。
Because this is such a common use for weak references, WeakHashMap, which USES weak references for keys (but not for values), was also added to the class library in JDK 1.2.
因为这是弱引用最常见的用法,WeakHashMap也被添加到JD k 1.2的类库中,它对键(而不是对值)使用弱引用。
应用推荐