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

6
LINES

< > BotCompany Repo | #1024620 // itemPlusObjectArray

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (1648L/11K).

static O[] itemPlusObjectArray(O a, O[] l) {
  O[] out = new O[l(l)+1];
  out[0] = a;
  arraycopy(l, 0, out, 1, l(l));
  ret out;
}

Author comment

Began life as a copy of #1019407

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1024620
Snippet name: itemPlusObjectArray
Eternal ID of this version: #1024620/1
Text MD5: b70ac99f08cd9420dd7c372b9f290f8f
Transpilation MD5: 3090982cc5a9dfb967b702a342179d66
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-20 14:12:54
Source code size: 136 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 180 / 259
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)