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

4
LINES

< > BotCompany Repo | #1032418 // wrapDoubleArrayAsList

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

Libraryless. Click here for Pure Java version (3205L/18K).

static L<Double> wrapDoubleArrayAsList(double[] l) {
  if (l == null) null;
  ret virtualList(l.length, i -> l[i]);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032418
Snippet name: wrapDoubleArrayAsList
Eternal ID of this version: #1032418/1
Text MD5: 492ca24b5c8f28aa3c849b040bc380e9
Transpilation MD5: 848fdfaac732c64a6a658de7b47d8216
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-03 03:38:12
Source code size: 120 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 182 / 249
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)