static <A> Set<S> getFromMultipleMapsAsCISet(Collection<Map<A, S>> maps, A key) { Set<S> out = ciSet(); if (maps != null) for (Map<A, S> map : maps) addIfNotNull(out, map.get(key)); ret out; }
Began life as a copy of #1010807
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021859 |
Snippet name: | getFromMultipleMapsAsCISet - get a single key from a list of maps, output ciSet |
Eternal ID of this version: | #1021859/2 |
Text MD5: | bd288c944137cbb8981d3de2a93b567c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-02 18:27:55 |
Source code size: | 207 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 280 / 318 |
Version history: | 1 change(s) |
Referenced in: | [show references] |