1 | static <A> Set<A> linkedHashSet_addWithAutoInit(Set<A> set, A a) { |
2 | if (set == null) set = new LinkedHashSet; |
3 | set.add(a); |
4 | ret set; |
5 | } |
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: | #1017800 |
Snippet name: | linkedHashSet_addWithAutoInit |
Eternal ID of this version: | #1017800/6 |
Text MD5: | 27f531078a01be1ab79a01d614362676 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-08-12 15:13:48 |
Source code size: | 141 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 341 / 399 |
Version history: | 5 change(s) |
Referenced in: | [show references] |