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

8
LINES

< > BotCompany Repo | #1029628 // SecretValue - generic record

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

Libraryless. Click here for Pure Java version (2608L/16K).

// Note: doesn't have value-semantics
// i.e. eq(SecretValue(x), SecretValue(x)) will be false
sclass SecretValue<A> extends Var<A> {
  *() {}
  *(A a) { super(a); }
  
  toString { ret "Secret value"; }
}

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: #1029628
Snippet name: SecretValue - generic record
Eternal ID of this version: #1029628/3
Text MD5: 52d8948652440d9c2d3eb7e818a1dc45
Transpilation MD5: 757b07cfab273c36de3d364ad747dbd9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-10-07 18:26:22
Source code size: 212 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 280 / 554
Version history: 2 change(s)
Referenced in: [show references]