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

4
LINES

< > BotCompany Repo | #1005247 // deref - dereference IRef

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

Libraryless. Click here for Pure Java version (39L/1K).

sO deref(O o) {
  if (o cast IRef) ret o!;
  ret o;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1005247
Snippet name: deref - dereference IRef
Eternal ID of this version: #1005247/3
Text MD5: b262d316302f1610fb569494559253db
Transpilation MD5: f16fb5f43364bce63a1035dfb808ea73
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-05 22:32:14
Source code size: 58 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 750 / 714
Version history: 2 change(s)
Referenced in: #1005332 - derefRef - convert Concept.Ref (not MatchVar) to Concept
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1031340 - cDeref