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

11
LINES

< > BotCompany Repo | #1022558 // indexMechLists - ciMultiMap from line to mech list name

JavaX fragment (include)

static MultiMap<S> indexMechLists(LS listNames) {
  MultiMap<S> mm = ciMultiMap();
  for unnull (S name : listNames)
    for (S line : mL(name))
      mm.put(line, name);
  ret mm;
}

static MultiMap<S> indexMechLists(S... listNames) {
  ret indexMechLists(asList(listNames));
}

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: #1022558
Snippet name: indexMechLists - ciMultiMap from line to mech list name
Eternal ID of this version: #1022558/2
Text MD5: 8b1aeffe73c913e4a513955cc5041054
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-21 11:14:40
Source code size: 288 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 162 / 199
Version history: 1 change(s)
Referenced in: [show references]