Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1018287 // nlLogic_outputFromExecutedRules

JavaX fragment (include)

// changes set
static Set<S> nlLogic_outputFromExecutedRules(Set<S> set, L<ExecutedRule> l) {
  for (ExecutedRule r : unnull(l))
    addAll(set, r.output);
  ret set;
}

static Set<S> nlLogic_outputFromExecutedRules(L<ExecutedRule> l) {
  ret nlLogic_outputFromExecutedRules(new LinkedHashSet, l);
}

Author comment

Began life as a copy of #1018280

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: #1018287
Snippet name: nlLogic_outputFromExecutedRules
Eternal ID of this version: #1018287/2
Text MD5: c9ffc287318644e711a1b6780eab5986
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-16 13:54:59
Source code size: 310 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 328 / 377
Version history: 1 change(s)
Referenced in: [show references]