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

7
LINES

< > BotCompany Repo | #1018151 // nlLogic_containingAnyRHSConstruct

JavaX fragment (include)

static L<IfThen> nlLogic_containingAnyRHSConstruct(L<IfThen> rules, S... constructs) {
  ret nlLogic_containingAnyRHSConstruct(rules, asHashSet(constructs));
}

static L<IfThen> nlLogic_containingAnyRHSConstruct(L<IfThen> rules, final Set<S> constructs) {
  ret [IfThen r : rules | containsOneOf(nlLogic_constructNames(r.out), constructs)];
}

Author comment

Began life as a copy of #1017878

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: #1018151
Snippet name: nlLogic_containingAnyRHSConstruct
Eternal ID of this version: #1018151/1
Text MD5: c458ea8790248fcff6428eee147e9211
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-04 13:46:15
Source code size: 348 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 279 / 320
Referenced in: [show references]