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

6
LINES

< > BotCompany Repo | #1035040 // cloneIntArray

JavaX fragment (include)

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

Author comment

Began life as a copy of #1034926

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035040
Snippet name: cloneIntArray
Eternal ID of this version: #1035040/4
Text MD5: fb149883e0f647570b356a64dbb2f38a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-25 20:59:12
Source code size: 145 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 53 / 66
Version history: 3 change(s)
Referenced in: [show references]