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

12
LINES

< > BotCompany Repo | #1007009 // titleDashSnippet - return "title - #snippetID"

JavaX fragment (include)

static S titleDashSnippet(long id) {
  ret titleDashSnippet(fsI(id));
}

static S titleDashSnippet(S id) {
  id = formatSnippetID(id);
  ret getSnippetTitle(id) + " - " + id;
}

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

Author comment

Began life as a copy of #1006972

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1007009
Snippet name: titleDashSnippet - return "title - #snippetID"
Eternal ID of this version: #1007009/1
Text MD5: 5625e1ec03585b4958decaad76d4aefc
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-02-25 14:23:42
Source code size: 279 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 394 / 403
Referenced in: [show references]