1 | static <A> Map<A, Bool> trueFalseMapFromTwoLists(Collection<A> trueList, Collection<A> falseList) { |
2 | new Map<A, Bool> map; |
3 | for (A a : unnull(trueList)) |
4 | map.put(a, true); |
5 | for (A a : unnull(falseList)) |
6 | map.put(a, false); |
7 | ret map; |
8 | } |
Began life as a copy of #1015752
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017902 |
Snippet name: | trueFalseMapFromTwoLists |
Eternal ID of this version: | #1017902/1 |
Text MD5: | 698614bb01ef97629cbf897d751b4689 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-08-20 11:04:57 |
Source code size: | 251 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 292 / 323 |
Referenced in: | [show references] |