static LS gazelle_applicableHelperLists(S ruleText) { MultiMap<S> wordToHelperList = gazelle_wordToHelperListMultiMap(); new Map<S, Set<S>> wordsSeenFromList; for (S word : words2(ruleText)) for (S list : wordToHelperList.get(word)) getOrCreateCISet(wordsSeenFromList, list).add(word); ret keysWithMultiValues(wordsSeenFromList); }
download show line numbers debug dex old transpilations
Travelled to 9 computer(s): ayivmpnvhhik, bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney
No comments. add comment
Snippet ID: | #1021881 |
Snippet name: | gazelle_applicableHelperLists |
Eternal ID of this version: | #1021881/4 |
Text MD5: | d00cfebd38df47e456730481cc0b1372 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-02 21:22:53 |
Source code size: | 356 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 263 / 304 |
Version history: | 3 change(s) |
Referenced in: | [show references] |