1 | static S titleWithSnippet(long id) { |
2 | ret titleWithSnippet(fsI(id)); |
3 | } |
4 | |
5 | static S titleWithSnippet(S id) { |
6 | id = formatSnippetID(id); |
7 | ret getSnippetTitle(id) + " " + id; |
8 | } |
9 | |
10 | static S titleWithSnippet(Snippet s) { |
11 | ret s == null ? "-" : s.title + " " + fsI(s.id); |
12 | } |
Began life as a copy of #1004807
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: | #1006972 |
Snippet name: | titleWithSnippet - return title plus snippet ID formatted for user |
Eternal ID of this version: | #1006972/4 |
Text MD5: | 09f40dc9763faa41589428135c0edccc |
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:59 |
Source code size: | 280 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 508 / 540 |
Version history: | 3 change(s) |
Referenced in: | [show references] |