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.

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

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: 137 / 206
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1033682 - setMetaSrc