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

7
LINES

< > BotCompany Repo | #1021050 // matchesToMap - uses "$1", "$2" keys...

JavaX fragment (include)

1  
static SS matchesToMap(Matches m) {
2  
  if (m == null) null;
3  
  new LinkedHashMap map;
4  
  for (int i = 0; i < l(m.m); i++)
5  
    map.put("$" + (i+1), m.get(i));
6  
  ret map;
7  
}

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: #1021050
Snippet name: matchesToMap - uses "$1", "$2" keys...
Eternal ID of this version: #1021050/2
Text MD5: 858ca87f73c5291b00771af52e04b6a8
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-10 17:07:18
Source code size: 173 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 316 / 352
Version history: 1 change(s)
Referenced in: [show references]