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

6
LINES

< > BotCompany Repo | #1018603 // cloneShortArray

JavaX fragment (include)

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

Author comment

Began life as a copy of #1010051

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018603
Snippet name: cloneShortArray
Eternal ID of this version: #1018603/1
Text MD5: faeb3f285bba1c7342108e47f21b0453
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-07 15:58:42
Source code size: 159 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 390 / 426
Referenced in: [show references]