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

9
LINES

< > BotCompany Repo | #1031856 // copyArray - synonym of arraycopy

JavaX fragment (include)

1  
static void copyArray(O[] a, O[] b) {
2  
  arraycopy(a, b);
3  
}
4  
5  
6  
7  
static void copyArray(O src, int srcPos, O dest, int destPos, int n) {
8  
  arraycopy(src, srcPos, dest, destPos, n);
9  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1031856
Snippet name: copyArray - synonym of arraycopy
Eternal ID of this version: #1031856/1
Text MD5: 066233603fb97b1f3048369b9c34cdae
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-07-16 06:33:12
Source code size: 180 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 70 / 86
Referenced in: [show references]