Download Jar. Libraryless. Click here for Pure Java version (5415L/31K).
!7 sS snippetID = #1010745; static long newTranslatorID = 759; p { S text = loadSnippet(snippetID); L<S> tok = javaTok(text); if (jfind(tok, "!<int>") != 1) ret with print("No translator found"); long translatorID = parseLong(tok.get(3)); if (translatorID == newTranslatorID) ret with print("Already has translator " + newTranslatorID); tok.set(3, str(newTranslatorID)); editSnippetVerbose(snippetID, join(tok)); }
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: | #1011237 |
| Snippet name: | Change translator on top of snippet |
| Eternal ID of this version: | #1011237/6 |
| Text MD5: | 2cc1a7cf3632caf02e055a72fd2f6404 |
| Transpilation MD5: | 64f7a97b6c91705e199e224c1ef8c958 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code (desktop) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-10-19 22:21:30 |
| Source code size: | 443 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 787 / 1724 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |