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

6
LINES

< > BotCompany Repo | #1003069 // arraysEqual

JavaX fragment (include)

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

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: 785 / 748
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#3000382 - Answer for ferdie (>> t = 1, f = 0)