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

5
LINES

< > BotCompany Repo | #1022114 // paramsPlus_old - concat param arrays (no check for overwrites)

JavaX fragment (include)

static O[] paramsPlus_old(O[] a1, O... a2) {
  if (a2 == null || l(a2) == 2 && a2[0] == null) ret a1;
  if (a1 == null) ret a2;
  ret concatArrays(assertEvenLength(a1), assertEvenLength(a2));
}

Author comment

Began life as a copy of #1011578

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1022114
Snippet name: paramsPlus_old - concat param arrays (no check for overwrites)
Eternal ID of this version: #1022114/1
Text MD5: ec06b74ea495de26927d540669c74731
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-07 22:45:30
Source code size: 197 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 215 / 220
Referenced in: [show references]