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

6
LINES

< > BotCompany Repo | #1020569 // dm_ai_analyzeLineCategoryWithFeature_map

JavaX fragment (include)

static Map<O, Set<S>> dm_ai_analyzeLineCategoryWithFeature_map(S category, fS feature) {
  LPair<O, S> pairs = map(objectsWhere(dm_lineToCategory_entries(), +category), func(Line2Category l) -> Pair<O, S> {
    pair(callAndMake(feature, l.line), l.answer)
  });
  ret pairsToMapWithSetValues(pairs);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020569
Snippet name: dm_ai_analyzeLineCategoryWithFeature_map
Eternal ID of this version: #1020569/2
Text MD5: 4cfab1ade9ac4bc665a6e3ae333de3d9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-27 01:30:43
Source code size: 306 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 296 / 336
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1020573 - dm_ai_analyzeLineCategoryWithFeature
#1020574 - dm_ai_analyzeLineCategoryWithFeature_multiMap