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

6
LINES

< > BotCompany Repo | #1003069 // arraysEqual

JavaX fragment (include)

1  
static boolean arraysEqual(O[] a, O[] b) {
2  
  if (a.length != b.length) false;
3  
  for (int i = 0; i < a.length; i++)
4  
    if (neq(a[i], b[i])) false;
5  
  true;
6  
}

download  show line numbers  debug dex  old transpilations   

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

Comments [hide]

ID Author/Program Comment Date
1216 stefan Yeah this is only for BigIntegers now 2016-04-27 15:55:47

add comment

Snippet ID: #1003069
Snippet name: arraysEqual
Eternal ID of this version: #1003069/2
Text MD5: e7b2696410421f6b1e969132dfc4824e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-05 11:33:51
Source code size: 161 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 786 / 749
Version history: 1 change(s)
Referenced in: [show references]