static <A, B> void syncMapRemove(Map<A, B> map, A key) { if (map != null && key != null) synchronized(collectionMutex(map)) { map.remove(key); } }
Began life as a copy of #1024464
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030802 |
Snippet name: | syncMapRemove |
Eternal ID of this version: | #1030802/1 |
Text MD5: | c6c9958f6836d16cef1caeb2571222b7 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-03-26 17:20:41 |
Source code size: | 155 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 164 / 203 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1030838 - mapRemove #1031194 - syncMapRemove_deleteMapIfEmpty |