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

8
LINES

< > BotCompany Repo | #1017914 // vm_generalIdentityHashSet

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

Libraryless. Click here for Pure Java version (4492L/25K).

1  
static Set vm_generalIdentityHashSet(O name) {
2  
  synchronized(vm_generalMap()) {
3  
    Set set = cast vm_generalMap_get(name);
4  
    if (set == null)
5  
      vm_generalMap_put(name, set = syncIdentityHashSet());
6  
    ret set;
7  
  }
8  
}

Author comment

Began life as a copy of #1017140

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017914
Snippet name: vm_generalIdentityHashSet
Eternal ID of this version: #1017914/3
Text MD5: f7fe58dda038b1618740c5079a1262f1
Transpilation MD5: b96a56d68bce6d0c8711069b94521032
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:17
Source code size: 233 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 364 / 522
Version history: 2 change(s)
Referenced in: [show references]