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

8
LINES

< > BotCompany Repo | #1028866 - getVar_rec - recursively unpack IVar/IF0

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

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

sO getVar_rec(O o) {
  int safety = 0;
  while ping (o instanceof IF0) {
    if (++safety >= 100) fail("safety");
    o = o/IF0!;
  }
  ret o;
}

Author comment

Began life as a copy of #1025651

download  show line numbers  debug dex   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028866
Snippet name: getVar_rec - recursively unpack IVar/IF0
Eternal ID of this version: #1028866/4
Text MD5: 1026e3fd9885f0ffbf1c793f1f2feedb
Transpilation MD5: 20b7411ccbf39c177f28a5eef786f6e2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-10 15:56:57
Source code size: 151 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 21 / 45
Version history: 3 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1028866 & http://1028866.tinybrain.de