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

6
LINES

< > BotCompany Repo | #1036044 // cloneLongArray

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

Libraryless. Click here for Pure Java version (36L/1K).

1  
static long[] cloneLongArray(long[] a) {
2  
  if (a == null) null;
3  
  long[] b = new[a.length];
4  
  System.arraycopy(a, 0, b, 0, a.length);
5  
  ret b;
6  
}

Author comment

Began life as a copy of #1035040

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036044
Snippet name: cloneLongArray
Eternal ID of this version: #1036044/1
Text MD5: 7eec05c7198fbab7e865da802283819f
Transpilation MD5: 7180781f7df9709f8e22320022afebd4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-09-03 01:30:27
Source code size: 149 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 182 / 244
Referenced in: [show references]