Libraryless. Click here for Pure Java version (3220L/20K).
sclass Cluster extends HasGlobalID { Set<S> synonyms = linkedCISet(); void addSynonym(S s) { synonyms.add(s); } S firstSynonym() { ret first(synonyms); } toString { ret curly(joinWithSlash(synonyms)); } }
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: | #1028733 |
Snippet name: | Cluster - set of synonyms (case-insensitive strings) plus a global ID |
Eternal ID of this version: | #1028733/6 |
Text MD5: | 4db37d7b8d5b444acc20a0931759e42a |
Transpilation MD5: | 4dd1f4fdd8fbe3acef87a177280b965d |
Author: | stefan |
Category: | javax / html |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-07 00:11:33 |
Source code size: | 237 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 226 / 543 |
Version history: | 5 change(s) |
Referenced in: | [show references] |