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

4
LINES

< > BotCompany Repo | #1013568 // recursivelyUnpackSingleElementList

JavaX fragment (include)

1  
static O recursivelyUnpackSingleElementList(O o) {
2  
  while ping (o instanceof L && l((L) o) == 1) o = first((L) o);
3  
  ret o;
4  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1013568
Snippet name: recursivelyUnpackSingleElementList
Eternal ID of this version: #1013568/1
Text MD5: 5f3a4527ddb6db459e0a360ae1ba8eb6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-09 14:02:12
Source code size: 131 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 397 / 442
Referenced in: [show references]