sclass WithName<A> extends Var<A> { S name; *() {} *(A value) { super(value); } *(S *name, A value) { super(value); } toString { if (empty(name)) ret super.toString(); ret name + ": " + super.toString(); } }
Began life as a copy of #1027095
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: | #1027831 |
Snippet name: | WithName |
Eternal ID of this version: | #1027831/1 |
Text MD5: | 8cd89824d5aeb9ae1b758a4ec5fb063e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-04-14 01:35:30 |
Source code size: | 244 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 212 / 487 |
Referenced in: | [show references] |