Libraryless. Click here for Pure Java version (2298L/14K).
1 | sclass WithReasoning<A> extends Var<A> { |
2 | S reasoning; |
3 | |
4 | *() {} |
5 | *(A value) { super(value); } |
6 | *(A value, S *reasoning) { super(value); } |
7 | |
8 | toString { |
9 | if (empty(reasoning)) ret super.toString(); |
10 | ret super.toString() + "\n" + |
11 | indentx("[Reasoning: " + reasoning + "]"); |
12 | } |
13 | } |
Began life as a copy of #1026686
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: | #1026688 |
Snippet name: | WithReasoning |
Eternal ID of this version: | #1026688/3 |
Text MD5: | 20abd73fe2321fe4806621014e271a33 |
Transpilation MD5: | 2ee165042872b5429da97a79e91d0c91 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-01-19 00:33:13 |
Source code size: | 308 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 278 / 660 |
Version history: | 2 change(s) |
Referenced in: | [show references] |