static O[] flattenArray(O... a) { new L l; for (O x : a) if (x instanceof O[]) l.addAll(asList((O[]) x)); else l.add(x); ret asObjectArray(l); }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003769 |
Snippet name: | flattenArray |
Eternal ID of this version: | #1003769/1 |
Text MD5: | 6557535416d4c9f68bd29a696c3ab86f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-07-26 23:02:24 |
Source code size: | 178 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 618 / 632 |
Referenced in: | [show references] |