Libraryless. Click here for Pure Java version (31L/1K).
1 | static <A, B> NavigableMap<A, B> synchroNavigableMap(NavigableMap<A, B> map) {
|
2 | ifdef OurSyncCollections |
3 | ret new SynchronizedNavigableMap(map); |
4 | endifdef |
5 | ifndef OurSyncCollections |
6 | ret Collections.synchronizedNavigableMap(map); |
7 | endifndef |
8 | } |
Began life as a copy of #1012171
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1012175 |
| Snippet name: | synchroNavigableMap (JDK 8+) |
| Eternal ID of this version: | #1012175/3 |
| Text MD5: | 4e6bf25630daf00ca74986fd38b5b382 |
| Transpilation MD5: | be26c19ebc8850cc9887b5f5f017e281 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-05-16 18:18:02 |
| Source code size: | 259 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 669 / 767 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |