Libraryless. Click here for Pure Java version (2502L/16K).
static <A> Map<A, Bool> trueFalseMap(Iterable<A> pos, Iterable<A> neg) { new LinkedHashMap<A, Bool> map; fOr (A a : pos) map.put(a, true); fOr (A a : neg) map.put(a, false); ret map; }
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: | #1028709 |
| Snippet name: | trueFalseMap |
| Eternal ID of this version: | #1028709/1 |
| Text MD5: | 69bbe8669c2090cd6be32960c88975db |
| Transpilation MD5: | b57394e8c3630e00fa630fd16e551c94 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-07-05 23:52:57 |
| Source code size: | 207 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 386 / 485 |
| Referenced in: | [show references] |