Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

13
LINES

< > BotCompany Repo | #1026821 // WithMakingOf

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2303L/14K).

sclass WithMakingOf<A> extends Var<A> {
  O makingOf;
  
  *() {}
  *(A value) { super(value); }
  *(A value, O *makingOf) { super(value); }
  
  toString {
    if (makingOf == null) ret super.toString();
    ret super.toString() + "\n" +
      indentx("[made with " + makingOf + "]");
  }
}

Author comment

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: 155 / 475
Referenced in: [show references]