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

5
LINES

< > BotCompany Repo | #1003783 // lookupSnippetID - fuzzy snippet ID lookup in a map

JavaX fragment (include)

static <B> B lookupSnippetID(Map<S, B> map, S id) {
  B b = map.get(formatSnippetID(id));
  if (b != null) ret b;
  ret map.get("" + parseSnippetID(id));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003783
Snippet name: lookupSnippetID - fuzzy snippet ID lookup in a map
Eternal ID of this version: #1003783/1
Text MD5: e36241ac2c601d5685096c44f6e0eb7c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-29 16:14:17
Source code size: 159 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 438 / 995
Referenced in: [show references]