Libraryless. Click here for Pure Java version (2539L/16K).
1 | static <A> L<A> keysWhereValueContains_usingCandidates(S b, Map<A, S> map, Iterable<A> candidates) {
|
2 | new L<A> l; |
3 | if (map != null) |
4 | fOr (A key : candidates) |
5 | if (contains(map.get(key), b)) |
6 | l.add(key); |
7 | ret l; |
8 | } |
Began life as a copy of #1029000
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: | #1029003 |
| Snippet name: | keysWhereValueContains_usingCandidates |
| Eternal ID of this version: | #1029003/1 |
| Text MD5: | 862219c19689b9150ba778a63b2c348d |
| Transpilation MD5: | 918cc2c03a87f215896f773a4dd623ba |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-07-16 18:28:41 |
| Source code size: | 237 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 444 / 563 |
| Referenced in: | [show references] |