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

5
LINES

< > BotCompany Repo | #1033844 // flattenToList - best flattening function. unpacks object arrays and iterables recursively, drops nulls

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

Libraryless. Click here for Pure Java version (4774L/27K).

static L flattenToList(O... l) {
  new Flattener f;
  f.add(l);
  ret f.toList();
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1033844
Snippet name: flattenToList - best flattening function. unpacks object arrays and iterables recursively, drops nulls
Eternal ID of this version: #1033844/3
Text MD5: 74563ab658cf8bbc19a6b3d5cb3a1bd1
Transpilation MD5: 8f29212c767f61325fc3bfeae8d047fa
Author: stefan
Category: javax / imaging
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-07 00:23:53
Source code size: 87 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 185 / 275
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1033845 - flattenToArray - best flattening function