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

7
LINES

< > BotCompany Repo | #1016772 // eqicLists

JavaX fragment (include)

1  
static bool eqicLists(L<S> a, L<S> b) {
2  
  int n = l(a);
3  
  if (n != l(b)) false;
4  
  for i to n:
5  
    if (!eqic(a.get(i), b.get(i))) false;
6  
  true;
7  
}

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: #1016772
Snippet name: eqicLists
Eternal ID of this version: #1016772/1
Text MD5: aaa4a72f53852dd89ff2546ae7077d3e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-02 13:01:02
Source code size: 151 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 385 / 404
Referenced in: [show references]