Libraryless. Click here for Pure Java version (2668L/17K).
1 | static Set<S> intersectCISets(Cl<S> a, Cl<S> b) { |
2 | ret setIntersection(asCISet(a), asCISet(b)); |
3 | } |
4 | |
5 | static <A extends Cl<S>> Set<S> intersectCISets(Cl<A> l) { |
6 | Set<S> set = null; |
7 | fOr (Cl<S> x : l) |
8 | set = set == null ? asCISet(x) : intersectCISets(set, x); |
9 | ret set; |
10 | } |
Began life as a copy of #1009544
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: | #1028808 |
Snippet name: | intersectCISets |
Eternal ID of this version: | #1028808/7 |
Text MD5: | 550ded335552d7b4f0ea430b9927a6e5 |
Transpilation MD5: | f1e652af6ab7b1db7989cfc0127c10f0 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-11 21:41:25 |
Source code size: | 283 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 249 / 370 |
Version history: | 6 change(s) |
Referenced in: | [show references] |