static int stdCompare(Number a, Number b) { ret cmp(a, b); } static int stdCompare(S a, S b) { ret cmp(a, b); } static int stdCompare(long a, long b) { ret a < b ? -1 : a > b ? 1 : 0; } static int stdCompare(O a, O b) { ret cmp(a, b); }
Began life as a copy of #1001540
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: | #1010250 |
| Snippet name: | stdCompare function (standard compare) - theoretical synonym of cmp |
| Eternal ID of this version: | #1010250/1 |
| Text MD5: | 293ea4778546e94b34d822b4b9769277 |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-09-07 18:40:04 |
| Source code size: | 263 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 694 / 720 |
| Referenced in: | [show references] |