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

21
LINES

< > BotCompany Repo | #1014069 // mechListNames_fresh

JavaX fragment (include)

1  
static L<S> mechListNames_fresh() {
2  
   bool useLocal = false, useRemote = true;
3  
  if (mergeLocalAndRemoteMechLists())
4  
    useLocal = true;
5  
  else if (useLocalMechLists()) {
6  
    useLocal = true; useRemote = false;
7  
  }
8  
   
9  
  LS l = null;
10  
  
11  
  if (useRemote)
12  
    if (useLocalMechListCopies())
13  
      l = namesOfLocalMechListCopies();
14  
    else
15  
      l = serverMechListNames_fresh();
16  
17  
  if (useLocal)
18  
    l = concatLists_conservative(l, localMechListNames());
19  
    
20  
  ret l;
21  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1014069
Snippet name: mechListNames_fresh
Eternal ID of this version: #1014069/4
Text MD5: f3090f95c7fc1c3a943f236605d29826
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-27 13:39:53
Source code size: 489 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 414 / 452
Version history: 3 change(s)
Referenced in: [show references]