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

5
LINES

< > BotCompany Repo | #1033680 // setMetaSrcUnlessSame

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

Transpiled version (4703L) is out of date.

1  
static <A extends IMeta> A setMetaSrcUnlessSame(O b, A a, O src) {
2  
  if (a != b)
3  
    setMeta(a, +src);
4  
  ret a;
5  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033680
Snippet name: setMetaSrcUnlessSame
Eternal ID of this version: #1033680/3
Text MD5: 719392bdddff9be36a93341f45202eb4
Author: stefan
Category: javax / reasoning
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-12-26 21:37:59
Source code size: 119 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 136 / 204
Version history: 2 change(s)
Referenced in: [show references]