Libraryless. Click here for Pure Java version (4649L/26K).
1 | static Map vm_generalWeakIdentitySubMap(O name) {
|
2 | synchronized(vm_generalMap()) {
|
3 | Map map = cast vm_generalMap_get(name); |
4 | if (map == null) |
5 | vm_generalMap_put(name, map = weakIdentityHashMap()); |
6 | ret map; |
7 | } |
8 | } |
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: | 432 / 538 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |