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

8
LINES

< > BotCompany Repo | #1012171 // synchroNavigableMap

JavaX fragment (include)

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
}

Author comment

Began life as a copy of #1012170

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: #1012171
Snippet name: synchroNavigableMap
Eternal ID of this version: #1012171/6
Text MD5: 4e6bf25630daf00ca74986fd38b5b382
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-08 21:22:06
Source code size: 259 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 331 / 393
Version history: 5 change(s)
Referenced in: [show references]