1 | static class LoggingStringList extends ArrayList<S> { |
2 | S fileName; |
3 | |
4 | *(S *fileName) {} |
5 | |
6 | public boolean add(S s) { |
7 | boolean result = super.add(s); |
8 | S line = "add: " + s; |
9 | logQuoted(new File(programDir(), fileName), line); |
10 | return result; |
11 | } |
12 | } |
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: | #1001455 |
Snippet name: | LoggingStringList |
Eternal ID of this version: | #1001455/1 |
Text MD5: | cb98fb1678c16f8c042497d8ba7ebdd6 |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-10-16 20:24:00 |
Source code size: | 273 bytes / 12 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 688 / 891 |
Referenced in: | [show references] |