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

6
LINES

< > BotCompany Repo | #1020162 // moduleSelector_sameList

JavaX fragment (include)

1  
sbool moduleSelector_sameList(LS a, LS b) {
2  
  if (l(a) != l(b)) false;
3  
  for i over a:
4  
    if (!eq(firstIntAsString(a.get(i)), firstIntAsString(b.get(i)))) false;
5  
  true;
6  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020162
Snippet name: moduleSelector_sameList
Eternal ID of this version: #1020162/1
Text MD5: 89de14739b37c1d4e502589f79205160
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-09 18:26:38
Source code size: 177 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 313 / 352
Referenced in: [show references]