1 | static <A, B> void addPair(Collection<Pair<A, B>> c, A a, B b) { |
2 | if (c != null) c.add(pair(a, b)); |
3 | } |
Began life as a copy of #1012157
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1012217 |
Snippet name: | addPair - add pair to collection if collection != null |
Eternal ID of this version: | #1012217/2 |
Text MD5: | d4d2bd25949426414db8cc5d53a57281 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-24 11:29:14 |
Source code size: | 104 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 582 / 598 |
Version history: | 1 change(s) |
Referenced in: | [show references] |