1 | static void swapIntArray(int[] l, int i, int j) {
|
2 | if (i == j) ret; |
3 | int o = l[i]; |
4 | l[i] = l[j]; |
5 | l[j] = o; |
6 | } |
Began life as a copy of #1004784
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: | #1010348 |
| Snippet name: | swapIntArray |
| Eternal ID of this version: | #1010348/1 |
| Text MD5: | cf0719c19fced5405f5a89b5f628dc89 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-09-12 02:58:54 |
| Source code size: | 118 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 718 / 754 |
| Referenced in: | [show references] |