Libraryless. Click here for Pure Java version (5043L/31K).
1 | svoid test_unwrapSynchronizedMap() { |
2 | new Map map; |
3 | assertSameVerbose(map, unwrapSynchronizedMap(Collections.synchronizedMap(map))); |
4 | assertSameVerbose(map, unwrapSynchronizedMap(map)); |
5 | assertSameVerbose(map, unwrapSynchronizedMap(new SynchronizedMap(map))); |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031778 |
Snippet name: | test_unwrapSynchronizedMap |
Eternal ID of this version: | #1031778/2 |
Text MD5: | 71175d3f43dc1da6bf823ce06a6c8a01 |
Transpilation MD5: | b5ff87253ee66c843cb67243377f6d1a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-06-29 18:00:45 |
Source code size: | 270 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 124 / 194 |
Version history: | 1 change(s) |
Referenced in: | [show references] |