Libraryless. Click here for Pure Java version (72L/1K).
static <A> L<A> surroundWithElement(A a, Collection<A> l) { ret concatLists(ll(a), l, ll(a)); }
Began life as a copy of #1027625
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030685 |
Snippet name: | surroundWithElement |
Eternal ID of this version: | #1030685/1 |
Text MD5: | c84b5ce78b1e88e25e889cca2e7c05f5 |
Transpilation MD5: | 68a27fcabfee49131e110b9f267b2073 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-03-04 14:04:59 |
Source code size: | 99 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 213 / 278 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |