static int stdcmp(Number a, Number b) { ret cmp(a, b); } static int stdcmp(S a, S b) { ret cmp(a, b); } static int stdcmp(long a, long b) { ret a < b ? -1 : a > b ? 1 : 0; } static int stdcmp(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: | #1015441 | 
| Snippet name: | stdcmp function (standard compare) - theoretical synonym of cmp | 
| Eternal ID of this version: | #1015441/1 | 
| Text MD5: | fed97b267440630a5ee8db3a87aec00a | 
| Author: | stefan | 
| Category: | |
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2018-05-14 00:45:15 | 
| Source code size: | 247 bytes / 15 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 573 / 631 | 
| Referenced in: | [show references] |