1 | static LS gazelle_applicableHelperLists(S ruleText) {
|
2 | MultiMap<S> wordToHelperList = gazelle_wordToHelperListMultiMap(); |
3 | new Map<S, Set<S>> wordsSeenFromList; |
4 | for (S word : words2(ruleText)) |
5 | for (S list : wordToHelperList.get(word)) |
6 | getOrCreateCISet(wordsSeenFromList, list).add(word); |
7 | ret keysWithMultiValues(wordsSeenFromList); |
8 | } |
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: | 468 / 515 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |