static <A, B> L<B> getFromAll(Collection<Map<A, B>> maps, A key) { new L<B> l; if (maps != null) for (Map<A, B> map : maps) addIfNotNull(l, map.get(key)); ret l; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1010807 |
Snippet name: | getFromAll - get a single key from a list of maps |
Eternal ID of this version: | #1010807/1 |
Text MD5: | 539596b3282d01bce67845d7929fc3cc |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-03 21:51:34 |
Source code size: | 178 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 414 / 455 |
Referenced in: | [show references] |