static LineWithColor sortLineByY(LineWithColor l) { if (l.a.y > l.b.y) { Pt p = l.a; l.a = l.b; l.b = p; } ret l; }
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: | #1015052 |
| Snippet name: | sortLineByY - put a over b |
| Eternal ID of this version: | #1015052/3 |
| Text MD5: | 9ba0c0f72fe9a42b7f0e372b730be7d8 |
| Author: | stefan |
| Category: | javax / maths |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-07 15:32:20 |
| Source code size: | 140 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 635 / 667 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |