Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1017215 // dropEntryFromParams

JavaX fragment (include)

static O[] dropEntryFromParams(O[] params, int i) {
  int n = l(params);
  if (i < 0 || i >= n) ret params;
  if (n == 2) null;
  O[] p = new O[n-2];
  System.arraycopy(params, 0, p, 0, i);
  System.arraycopy(params, i+2, p, i, n-i-2);
  ret p;
}

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: 353 / 407
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)