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   

Travelled to 9 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

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: 524 / 452
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1003069 & http://1003069.tinybrain.de