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

3
LINES

< > BotCompany Repo | #1010621 // newWeakHashMap - use this instead of new WeakHashMap; map is always synchronized

JavaX fragment (include)

static <A, B> Map<A, B> newWeakHashMap() {
  ret _registerWeakMap(synchroMap(new WeakHashMap));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 17 computer(s): aoiabmzegqzx, ayfdnjdhpjha, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, kltaiputbqfu, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1010621
Snippet name: newWeakHashMap - use this instead of new WeakHashMap; map is always synchronized
Eternal ID of this version: #1010621/5
Text MD5: 15342c41e6dd092d5f0b0b4dd500008b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-23 20:14:56
Source code size: 99 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 589 / 711
Version history: 4 change(s)
Referenced in: [show references]