1 | static Map<S, MultiSet<S>> ai_gazelle_indexStatementsByRule_multiSet(MultiSet<S> statements) { |
2 | new Map<S, MultiSet<S>> map; |
3 | new Matches m; |
4 | for (S s : keys(statements)) |
5 | if "Rule *: ..." { |
6 | S ruleID = $1; |
7 | getOrCreateMultiSet(map, ruleID).add(m.rest(), statements.get(s)); |
8 | } |
9 | ret map; |
10 | } |
Began life as a copy of #1021444
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021972 |
Snippet name: | ai_gazelle_indexStatementsByRule_multiSet |
Eternal ID of this version: | #1021972/3 |
Text MD5: | 7e1ec790e635aec98793f113264dbb77 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-04 14:18:44 |
Source code size: | 318 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 282 / 315 |
Version history: | 2 change(s) |
Referenced in: | [show references] |