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

6
LINES

< > BotCompany Repo | #1010051 - cloneObjectArray

JavaX fragment (include)

static O[] cloneObjectArray(O[] a) {
  if (a == null) null;
  O[] b = new O[a.length];
  System.arraycopy(a, 0, b, 0, a.length);
  ret b;
}

Author comment

Began life as a copy of #1003162

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1010051
Snippet name: cloneObjectArray
Eternal ID of this version: #1010051/1
Text MD5: 55483bbbb8ecad3fd3ed0dad7bda8342
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-01 18:34:38
Source code size: 144 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 316 / 351
Referenced in: [show references]