1 | static void printOccTree2(OccTree2 t) { |
2 | printOccTree2_sub(t, ""); |
3 | } |
4 | |
5 | static void printOccTree2_sub(OccTree2 t, S indent) { |
6 | print(indent + "[" + t.count + "]" + (t.e == null ? "" : " " + t.e)); |
7 | for (OccTree2 t2 : t.next) |
8 | printOccTree2_sub(t2, indent + " "); |
9 | } |
Began life as a copy of #1003341
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003411 |
Snippet name: | printOccTree2 - uses toString() for elements |
Eternal ID of this version: | #1003411/1 |
Text MD5: | 71062b0688dd035c0834e93a1ba07055 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-06-30 21:20:38 |
Source code size: | 277 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 641 / 818 |
Referenced in: | [show references] |