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

7
LINES

< > BotCompany Repo | #1011507 // smallestList_l

JavaX fragment (include)

1  
static int smallestList_l(O l) {
2  
  if (l == null) ret 0;
3  
  if (l cast Pair) ret 2;
4  
  if (l cast Triple) ret 3;
5  
  if (l instanceof O[]) ret l((O[]) l);
6  
  ret 1;
7  
}

Author comment

Began life as a copy of #1011504

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1011507
Snippet name: smallestList_l
Eternal ID of this version: #1011507/4
Text MD5: d31231e3afa3a3911fa9612a2b1049cf
Author: stefan
Category: javax / collections
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-27 00:03:32
Source code size: 167 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 553 / 570
Version history: 3 change(s)
Referenced in: [show references]