WeakHashMap

          If you want the entry to be garbage collected, use WeakHashMap. Once the key is not strongly referenced, the entry will be automatically reclaimed.

           

          Here is a good article to understand this:

          http://www.codeinstructions.com/2008/09/weakhashmap-is-not-cache-understanding.html

          posted on 2010-06-08 20:40 simplelove 閱讀(296) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           

          導航

          <2010年6月>
          303112345
          6789101112
          13141516171819
          20212223242526
          27282930123
          45678910

          統計

          常用鏈接

          留言簿

          隨筆檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 仁怀市| 华亭县| 奎屯市| 石泉县| 迁西县| 武功县| 同心县| 曲阳县| 仙居县| 福贡县| 和政县| 宁武县| 新绛县| 吕梁市| 清水县| 靖边县| 宣威市| 玉山县| 汾阳市| 马公市| 临湘市| 乐安县| 青海省| 南康市| 绵阳市| 吉林市| 江城| 景德镇市| 乌拉特中旗| 玉门市| 克东县| 建始县| 天气| 广丰县| 保靖县| 楚雄市| 华宁县| 泾川县| 宾川县| 武定县| 隆昌县|