1 | static boolean ioSmartEq(O a, O b) {
|
2 | if (a instanceof S && !(b instanceof S)) b = str(b); |
3 | else if (b instanceof S && !(a instanceof S)) a = str(a); |
4 | ret eq(a, b); |
5 | } |
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: | 858 / 822 |
| Referenced in: | [show references] |