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

13
LINES

< > BotCompany Repo | #1022839 // parseDoubleRightArrowMap

JavaX fragment (include)

static SS parseDoubleRightArrowMap(SS map, L<S> l) {
  ifdef debug_parseDoubleRightArrowMap
    print("parseDoubleRightArrowMap: " + l);
  endifdef
  for (S s : l) {
    L<S> x = splitAtDoubleArrow(s);
    ifdef debug_parseDoubleRightArrowMap
      print("parseDoubleRightArrowMap x: " + x);
    endifdef
    if (l(x) == 2) map.put(first(x), second(x));
  }
  ret map;
}

Author comment

Began life as a copy of #1014190

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: #1022839
Snippet name: parseDoubleRightArrowMap
Eternal ID of this version: #1022839/4
Text MD5: 47066a3ab8cbb231f173bf99ae1bf71e
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-09 23:36:28
Source code size: 382 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 228 / 278
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)