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   

Travelled to 11 computer(s): aoiabmzegqzx, ayfdnjdhpjha, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, kltaiputbqfu, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

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: 252 / 324
Version history: 4 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1010621 & http://1010621.tinybrain.de