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

9
LINES

< > BotCompany Repo | #1015982 // snippetWithTitle_cached - return snippet ID plus title formatted for user

JavaX fragment (include)

static S snippetWithTitle_cached(S id) {
  if (!isSnippetID(id)) ret id;
  id = formatSnippetID(id);
  ret id + " - " + getSnippetTitle_cached(id);
}

static S snippetWithTitle_cached(Snippet s) {
  ret s == null ? "-" : s.id + " - " + s.title;
}

Author comment

Began life as a copy of #1004807

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1015982
Snippet name: snippetWithTitle_cached - return snippet ID plus title formatted for user
Eternal ID of this version: #1015982/2
Text MD5: e20d119957fa88985860445333697435
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-03 00:15:26
Source code size: 256 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 330 / 359
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)