Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1017060 - vm_generalWeakSubMap

JavaX fragment (include)

static Map vm_generalWeakSubMap(O name) {
  synchronized(vm_generalMap()) {
    Map map = cast vm_generalMap_get(name);
    if (map == null)
      vm_generalMap_put(name, map = newWeakMap());
    ret map;
  }
}

Author comment

Began life as a copy of #1016566

download  show line numbers  debug dex  old transpilations   

Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, uelavcdoioby, vouqrxazstgt

No comments. add comment

Snippet ID: #1017060
Snippet name: vm_generalWeakSubMap
Eternal ID of this version: #1017060/2
Text MD5: a6b16adf21e12adbe48bb6c0e12929de
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-23 05:19:36
Source code size: 219 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 220 / 331
Version history: 1 change(s)
Referenced in: [show references]