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

10
LINES

< > BotCompany Repo | #1018922 // dangerousWeakMap - synonym of newDangerousWeakHashMap

JavaX fragment (include)

1  
static <A, B> Map<A, B> dangerousWeakMap() {
2  
  ret newDangerousWeakHashMap();
3  
}
4  
5  
6  
7  
// initFunction: voidfunc(Map) - is called initially, and after clearing the map
8  
static <A, B> Map<A, B> dangerousWeakMap(O initFunction) {
9  
  ret newDangerousWeakHashMap(initFunction);
10  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018922
Snippet name: dangerousWeakMap - synonym of newDangerousWeakHashMap
Eternal ID of this version: #1018922/1
Text MD5: a9eb65c89d31f1afd206187f1404a68f
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-16 00:03:24
Source code size: 272 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 334 / 372
Referenced in: [show references]