1 | static <A, B> void syncMapRemove(Map<A, B> map, A key) { |
2 | if (map != null && key != null) |
3 | synchronized(collectionMutex(map)) { map.remove(key); } |
4 | } |
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: | 165 / 204 |
Referenced in: | [show references] |