Libraryless. Click here for Pure Java version (2303L/14K).
1 | sclass WithMakingOf<A> extends Var<A> { |
2 | O makingOf; |
3 | |
4 | *() {} |
5 | *(A value) { super(value); } |
6 | *(A value, O *makingOf) { super(value); } |
7 | |
8 | toString { |
9 | if (makingOf == null) ret super.toString(); |
10 | ret super.toString() + "\n" + |
11 | indentx("[made with " + makingOf + "]"); |
12 | } |
13 | } |
Began life as a copy of #1026688
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1026821 |
Snippet name: | WithMakingOf |
Eternal ID of this version: | #1026821/1 |
Text MD5: | 15cf7dc4b0985ed1c2e944beef192894 |
Transpilation MD5: | a0af9da9dd6beb378eadf92f9b6f7e7e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-01-23 23:07:57 |
Source code size: | 303 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 226 / 570 |
Referenced in: | [show references] |