Libraryless. Click here for Pure Java version (2210L/14K).
1 | static <A, B> Set<A> allKeysFromList_inOrder(Iterable<Map<A, B>> l) { |
2 | Set<A> set = new LinkedHashSet; |
3 | fOr (Map<A, B> map : l) |
4 | addAll(set, keys(map)); |
5 | ret set; |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1025992 |
Snippet name: | allKeysFromList_inOrder |
Eternal ID of this version: | #1025992/1 |
Text MD5: | 7ed6aeffa3f66a63a2d49d3c8f6fd362 |
Transpilation MD5: | 3f7b6f3b198da638021fc7b0e44afef6 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-11-06 12:19:14 |
Source code size: | 175 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 186 / 300 |
Referenced in: | [show references] |