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: 637 / 590
Referenced in: #1003034 - ioSmartEqVerbose - smart equals for IOIOI that converts stuff to string
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#3000382 - Answer for ferdie (>> t = 1, f = 0)