Libraryless. Click here for Pure Java version (2519L/16K).
1 | static <A> bool addToCollections(A a, Cl<A>... l) {
|
2 | bool change; |
3 | fOr (Cl<A> c : l) if (c != null && c.add(a)) set change; |
4 | ret change; |
5 | } |
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: | 488 / 611 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |