static <A> Map<A, Bool> trueFalseMapFromTwoLists(Collection<A> trueList, Collection<A> falseList) { new Map<A, Bool> map; for (A a : unnull(trueList)) map.put(a, true); for (A a : unnull(falseList)) map.put(a, false); ret map; }
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: | 291 / 322 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |