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

10
LINES

< > BotCompany Repo | #1016800 // getBracketMapIncludingAngleBrackets

JavaX fragment (include)

1  
static HashSet<S> getBracketMapIncludingAngleBrackets_opening = lithashset("(", "{", "<");
2  
static HashSet<S> getBracketMapIncludingAngleBrackets_closing = lithashset(")", "}", ">");
3  
4  
static Map<Int> getBracketMapIncludingAngleBrackets(L tok) {
5  
  ret getBracketMap(tok, getBracketMapIncludingAngleBrackets_opening, getBracketMapIncludingAngleBrackets_closing);
6  
}
7  
8  
static Map<Int> getBracketMapIncludingAngleBrackets(L tok, int from, int to) {
9  
  ret getBracketMap(tok, getBracketMapIncludingAngleBrackets_opening, getBracketMapIncludingAngleBrackets_closing, from, to);
10  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016800
Snippet name: getBracketMapIncludingAngleBrackets
Eternal ID of this version: #1016800/2
Text MD5: f79bd167ccc3652d6f3835b1c6f48baf
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-12 21:39:21
Source code size: 578 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 330 / 382
Version history: 1 change(s)
Referenced in: [show references]