Libraryless. Click here for Pure Java version (2283L/14K).
1 | static <B> Set<S> allKeysAsCISet(Iterable<Map<S, B>> l) { |
2 | Set<S> set = ciSet(); |
3 | fOr (Map<S, B> map : l) |
4 | addAll(set, keys(map)); |
5 | ret set; |
6 | } |
Began life as a copy of #1026431
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: | #1026432 |
Snippet name: | allKeysAsCISet |
Eternal ID of this version: | #1026432/1 |
Text MD5: | 072ada93697c4e698cb67d3ecdd6b8cc |
Transpilation MD5: | 163b13e7f6b65a3fcd8c98adcabb8d50 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-01-03 18:16:12 |
Source code size: | 153 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 177 / 256 |
Referenced in: | [show references] |