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); }
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
ID | Author/Program | Comment | Date |
---|---|---|---|
1206 | stefan | TODO: merge with "cmp" | 2016-01-23 20:21:16 |
Snippet ID: | #1001540 |
Snippet name: | stdcompare function (standard compare) - theoretical synonym of cmp |
Eternal ID of this version: | #1001540/1 |
Text MD5: | e1b7ec4690db33cf9e6c75670693ede8 |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-13 04:02:36 |
Source code size: | 263 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 1310 / 2036 |
Referenced in: | [show references] |