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

5
LINES

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

JavaX fragment (include)

static O[] paramsPlus_noOverwriteCheck(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 #1024661

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1026586
Snippet name: paramsPlus_noOverwriteCheck - concat param arrays (no check for overwrites)
Eternal ID of this version: #1026586/1
Text MD5: 805e165cac4e30b98c9a23e9466b5628
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-14 19:39:03
Source code size: 210 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 206 / 246
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)