Libraryless. Click here for Pure Java version (3728L/24K).
1 | static <A> A printStructure(S prefix, A o) {
|
2 | if (endsWithLetter(prefix)) prefix += ": "; |
3 | print(prefix + structureForUser(o)); |
4 | ret o; |
5 | } |
6 | |
7 | static <A> A printStructure(A o) {
|
8 | print(structureForUser(o)); |
9 | ret o; |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lnbujpyubztb, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, wnsclhtenguj, xfddqsrefgvo, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1001939 |
| Snippet name: | printStructure |
| Eternal ID of this version: | #1001939/4 |
| Text MD5: | d4050d2dec33d6ea45c6b799c270cb9f |
| Transpilation MD5: | 651fa8bf7acac3c49b56d738412b1266 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-12-01 11:31:10 |
| Source code size: | 228 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1070 / 2086 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |