1 | static Collection<S> nlLogic_certainOperatorArgs(L<Exp> l, S... operators) { |
2 | HashSet<S> set = lithashset(operators); |
3 | new LinkedHashSet<S> out; |
4 | for (Exp e : unnull(l)) { |
5 | if (e cast Func) |
6 | if (set.contains(e.name)) |
7 | out.add(nlLogic_text(e.arg)); |
8 | } |
9 | ret out; |
10 | } |
Began life as a copy of #1018268
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: | #1018270 |
Snippet name: | nlLogic_certainOperatorArgs |
Eternal ID of this version: | #1018270/3 |
Text MD5: | e19fbdc32ca7f68c494373c86aa16e55 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-09-13 12:22:18 |
Source code size: | 291 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 417 / 441 |
Version history: | 2 change(s) |
Referenced in: | [show references] |