Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1026432 // allKeysAsCISet

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2283L/14K).

static <B> Set<S> allKeysAsCISet(Iterable<Map<S, B>> l) {
  Set<S> set = ciSet();
  fOr (Map<S, B> map : l)
    addAll(set, keys(map));
  ret set;
}

Author comment

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: 83 / 134
Referenced in: [show references]