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

8
LINES

< > BotCompany Repo | #1031840 // vm_generalWeakIdentitySubMap

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4649L/26K).

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

Author comment

Began life as a copy of #1017060

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1031840
Snippet name: vm_generalWeakIdentitySubMap
Eternal ID of this version: #1031840/4
Text MD5: 4c81368d9551baa64bb016d1be72dcbe
Transpilation MD5: 901a1458b46dbaa19f920dc626dd52fc
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:18:42
Source code size: 236 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 206 / 273
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)