static <A> bool addToCollection(Collection<A> c, A a) { ret c != null && c.add(a); }
Began life as a copy of #1014725
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1020929 |
| Snippet name: | addToCollection |
| Eternal ID of this version: | #1020929/1 |
| Text MD5: | 97048ca0ac39d91ee4948ab16576f82b |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-01-10 22:35:49 |
| Source code size: | 88 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 638 / 717 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1027936 - addToCollections |