Libraryless. Click here for Pure Java version (2515L/16K).
1 | static <A, B> Map<A, B> expandAutoMap(Iterable<A> keys, Map<A, B> map) {
|
2 | if (map == null) null; |
3 | fOr (A a : keys) map.get(a); |
4 | ret map; |
5 | } |
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: | #1027852 |
| Snippet name: | expandAutoMap |
| Eternal ID of this version: | #1027852/1 |
| Text MD5: | ca5fc20dbd36979d6db496130649994e |
| Transpilation MD5: | 275699fb30110398c1a10355cb328320 |
| Author: | stefan |
| Category: | java |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-04-15 13:00:35 |
| Source code size: | 145 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 375 / 501 |
| Referenced in: | [show references] |