Libraryless. Click here for Pure Java version (2519L/16K).
static <A> bool addToCollections(A a, Cl<A>... l) { bool change; fOr (Cl<A> c : l) if (c != null && c.add(a)) set change; ret change; }
Began life as a copy of #1020929
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1027936 |
| Snippet name: | addToCollections |
| Eternal ID of this version: | #1027936/4 |
| Text MD5: | 9769d7a06834e5eec261ffcf6d319204 |
| Transpilation MD5: | 7a5971b96096b02085bbefd08800a87a |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-04-19 13:12:51 |
| Source code size: | 145 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 489 / 611 |
| Version history: | 3 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1031509 - addToTwoCollections |