Libraryless. Click here for Pure Java version (31L/1K).
static <A, B> NavigableMap<A, B> synchroNavigableMap(NavigableMap<A, B> map) { ifdef OurSyncCollections ret new SynchronizedNavigableMap(map); endifdef ifndef OurSyncCollections ret Collections.synchronizedNavigableMap(map); endifndef }
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: | 450 / 503 |
Version history: | 2 change(s) |
Referenced in: | -