1 | static S snippetWithTitle_cached(S id) { |
2 | if (!isSnippetID(id)) ret id; |
3 | id = formatSnippetID(id); |
4 | ret id + " - " + getSnippetTitle_cached(id); |
5 | } |
6 | |
7 | static S snippetWithTitle_cached(Snippet s) { |
8 | ret s == null ? "-" : s.id + " - " + s.title; |
9 | } |
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: | 476 / 500 |
Version history: | 1 change(s) |
Referenced in: | [show references] |