Libraryless. Click here for Pure Java version (2298L/14K).
sclass WithFeedback<A> extends Var<A> { S feedback; *() {} *(A value) { super(value); } *(S *feedback, A value) { super(value); } toString { if (empty(feedback)) ret super.toString(); ret super.toString() + "\n" + indentx("[Feedback: " + feedback + "]"); } }
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: | #1026737 |
| Snippet name: | WithFeedback |
| Eternal ID of this version: | #1026737/3 |
| Text MD5: | 1651d1e1071d8404f1f3c19416e7520c |
| Transpilation MD5: | b4c361516cf98a2dcc2f960b7a6456e2 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-01-19 21:38:22 |
| Source code size: | 302 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 470 / 857 |
| Version history: | 2 change(s) |
| Referenced in: | #1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674) |