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

6
LINES

< > BotCompany Repo | #1036137 // cloneDoubleArray

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

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

static double[] cloneDoubleArray(double[] a) {
  if (a == null) null;
  double[] 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 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1036137
Snippet name: cloneDoubleArray
Eternal ID of this version: #1036137/1
Text MD5: 13a02fe16dc65b50e03ffc68ff85ccce
Transpilation MD5: 3aa08652f1ecd4d0042d69ed499bab64
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-09-28 18:43:44
Source code size: 157 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 62 / 89
Referenced in: [show references]