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

15
LINES

< > BotCompany Repo | #1014068 // Combine Mech Lists ("steigerung")

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (6092L/40K).

1  
!7
2  
3  
p {
4  
  S name = "steigerung";
5  
  L<S> names = mechListNames();
6  
  LinkedHashSet<S> set = new(mechList(name));
7  
  Set<S> originalSet = new LinkedHashSet(set);
8  
  for (S n : startingWith(names, name + "_"))
9  
    set.addAll(mechList(n));
10  
  if (eq(set, originalSet))
11  
    print("No change.");
12  
  print("New set:");    
13  
  print(botEditMechList(name, lines(set)));
14  
  pnl(set);
15  
}

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: #1014068
Snippet name: Combine Mech Lists ("steigerung")
Eternal ID of this version: #1014068/7
Text MD5: 2643c54661e859a3311bab04d9e1655e
Transpilation MD5: 1a0ab2acd082b61ad1277f1935f7dfda
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-03-27 23:03:12
Source code size: 382 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 363 / 930
Version history: 6 change(s)
Referenced in: [show references]