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

17
LINES

< > BotCompany Repo | #1006322 // getSnippetTitle_cached etc. - exceptionless, cached version of getSnippetTitle

JavaX fragment (include)

static new SnippetTitles getSnippetTitle_cached_cache;

static String getSnippetTitle_cached(S id) {
  ret getSnippetTitle_cached_cache.get(id);
}

static void getSnippetTitle_cached_put(S id, S title) {
  getSnippetTitle_cached_cache.put(id, title);
}

static bool getSnippetTitle_cached_has(S id) {
  ret getSnippetTitle_cached_cache.has(id);
}

static S getSnippetTitle_cached_probe(S id) {
  ret getSnippetTitle_cached_cache.probe(id);
}

Author comment

Began life as a copy of #1006321

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006322
Snippet name: getSnippetTitle_cached etc. - exceptionless, cached version of getSnippetTitle
Eternal ID of this version: #1006322/1
Text MD5: 90dc9c3a7b4d1470093a54fbb30191a7
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-28 20:13:34
Source code size: 459 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 574 / 763
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1015988 - Test function parsing bug
#1016353 - clearSnippetTitleCache