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

10
LINES

< > BotCompany Repo | #1016800 // getBracketMapIncludingAngleBrackets

JavaX fragment (include)

static HashSet<S> getBracketMapIncludingAngleBrackets_opening = lithashset("(", "{", "<");
static HashSet<S> getBracketMapIncludingAngleBrackets_closing = lithashset(")", "}", ">");

static Map<Int> getBracketMapIncludingAngleBrackets(L tok) {
  ret getBracketMap(tok, getBracketMapIncludingAngleBrackets_opening, getBracketMapIncludingAngleBrackets_closing);
}

static Map<Int> getBracketMapIncludingAngleBrackets(L tok, int from, int to) {
  ret getBracketMap(tok, getBracketMapIncludingAngleBrackets_opening, getBracketMapIncludingAngleBrackets_closing, from, to);
}

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: 266 / 316
Version history: 1 change(s)
Referenced in: [show references]