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

5
LINES

< > BotCompany Repo | #1003031 // ioSmartEq - smart equals for IOIOI that converts stuff to string

JavaX fragment (include)

static boolean ioSmartEq(O a, O b) {
  if (a instanceof S && !(b instanceof S)) b = str(b);
  else if (b instanceof S && !(a instanceof S)) a = str(a);
  ret eq(a, b);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003031
Snippet name: ioSmartEq - smart equals for IOIOI that converts stuff to string
Eternal ID of this version: #1003031/1
Text MD5: 23d239c673aa4ad727221928a83f20e3
Author: stefan
Category: javax / nl
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-04-21 17:06:03
Source code size: 173 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 580 / 529
Referenced in: [show references]