static <A> LinkedHashSet<A> concatToOrderedSet(Collection<A>... lists) { new LinkedHashSet<A> l; for (Collection<A> list : lists) if (list != null) l.addAll(list); return l; } static <A> LinkedHashSet<A> concatToOrderedSet(Collection<? extends Collection<A>> lists) { new LinkedHashSet<A> l; for (Collection<A> list : lists) if (list != null) l.addAll(list); return l; }
Began life as a copy of #1015558
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: | #1026302 |
| Snippet name: | concatToOrderedSet (LinkedHashSet) |
| Eternal ID of this version: | #1026302/1 |
| Text MD5: | 82f00bb11e076cf2d2ab830f3944ccaf |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-12-15 15:14:13 |
| Source code size: | 419 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 506 / 517 |
| Referenced in: | [show references] |