Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1012170 // synchroSortedMap

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (31L/1K).

1  
static <A, B> SortedMap<A, B> synchroSortedMap(SortedMap<A, B> map) {
2  
  ifdef OurSyncCollections
3  
    ret new SynchronizedSortedMap(map);
4  
  endifdef
5  
  ifndef OurSyncCollections
6  
    ret Collections.synchronizedSortedMap(map);
7  
  endifndef
8  
}

Author comment

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: 497 / 556
Version history: 2 change(s)
Referenced in: [show references]