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

6
LINES

< > BotCompany Repo | #1014366 // isStringList - actually checks every element

JavaX fragment (include)

1  
static bool isStringList(O o) {
2  
  if (!o instanceof L) false;
3  
  L l = cast o;
4  
  for (O x : l) if (!x instanceof S) false;
5  
  true;
6  
}

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: #1014366
Snippet name: isStringList - actually checks every element
Eternal ID of this version: #1014366/1
Text MD5: aaa21289787ae201b4d454a2705cf28b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-20 16:31:14
Source code size: 136 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 441 / 474
Referenced in: [show references]