static <B, A extends Collection<B>> A addAndReturnCollection(A c, B a) { if (c != null) c.add(a); ret c; }
Began life as a copy of #1007299
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018571 |
Snippet name: | addAndReturnCollection - add element to a collection and return the collection |
Eternal ID of this version: | #1018571/2 |
Text MD5: | 964d7bb96483d97ee1389f29cfa2a4fe |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-06 04:17:40 |
Source code size: | 113 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 425 / 457 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |