Libraryless. Click here for Pure Java version (2757L/16K).
static <A> Cl<A> concatCollections_conservative(Cl<A> a, Cl<A> b) { if (empty(a)) ret b; if (empty(b)) ret a; ret concatLists(a, b); }
Began life as a copy of #1012066
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030887 |
Snippet name: | concatCollections_conservative - use any of the collections verbatim if the others are empty |
Eternal ID of this version: | #1030887/1 |
Text MD5: | c19d7b9f4605eec333c78dc039cae044 |
Transpilation MD5: | d48352e8e74d57ee56b6a63d617380dd |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-04-06 12:28:23 |
Source code size: | 144 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 223 / 322 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |