Dead mappings could be eliminated by periodically scanning the Map, calling get() on each weak reference, and removing the mapping if get() returns null.

  • 可以通过周期性地扫描Map,对每一个弱引用调用get(),并在get()返回null时删除那个映射而消除死映射。

  • 互联网摘选 2025-01-19 22:16:35

    • 相关例句
    精确
    • 模糊
    • 词首
    • 词尾
    • 词义
    • 例句