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

10
LINES

< > BotCompany Repo | #1034590 // NamedConcept

JavaX fragment (include)

1  
concept NamedConcept {
2  
  S name;
3  
  
4  
  toString {
5  
    S s = super.toString();
6  
    if (nempty(name))
7  
      s += " " + quote(name);
8  
    ret s;
9  
  }
10  
}

Author comment

Began life as a copy of #1027578

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034590
Snippet name: NamedConcept
Eternal ID of this version: #1034590/2
Text MD5: 633064667c998269869d33b7fa5891ae
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-19 08:34:01
Source code size: 154 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 149 / 189
Version history: 1 change(s)
Referenced in: [show references]