1 | static O[] dropEntryFromParams(O[] params, int i) { |
2 | int n = l(params); |
3 | if (i < 0 || i >= n) ret params; |
4 | if (n == 2) null; |
5 | O[] p = new O[n-2]; |
6 | System.arraycopy(params, 0, p, 0, i); |
7 | System.arraycopy(params, i+2, p, i, n-i-2); |
8 | ret p; |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017215 |
Snippet name: | dropEntryFromParams |
Eternal ID of this version: | #1017215/2 |
Text MD5: | 096bfdf828c024d2e2d4abae6904b58f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-14 12:35:42 |
Source code size: | 254 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 352 / 406 |
Version history: | 1 change(s) |
Referenced in: | [show references] |