Libraryless. Click here for Pure Java version (31L/1K).
static <A, B> SortedMap<A, B> synchroSortedMap(SortedMap<A, B> map) { ifdef OurSyncCollections ret new SynchronizedSortedMap(map); endifdef ifndef OurSyncCollections ret Collections.synchronizedSortedMap(map); endifndef }
Began life as a copy of #1004211
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: | #1012170 |
| Snippet name: | synchroSortedMap |
| Eternal ID of this version: | #1012170/3 |
| Text MD5: | ded6cf90fb0e0f0476042dd489f8bedd |
| Transpilation MD5: | 8341a5eee8aa262ba3aa2aa933f5d0c9 |
| 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:55 |
| Source code size: | 244 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 730 / 852 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |