static int ai_addFactsToSet(Set<S> set, LS newFacts) { int n = 0; for (S fact : newFacts) if (!set.contains("Untrue: " + fact) && set.add(fact)) ++n; ret n; }
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: | #1018029 |
| Snippet name: | ai_addFactsToSet |
| Eternal ID of this version: | #1018029/2 |
| Text MD5: | 36bd7aac41c850fef6df2feb4e210e69 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-08-26 17:13:38 |
| Source code size: | 173 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 629 / 648 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |