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

6
LINES

< > BotCompany Repo | #1030929 // isStringCollection - actually checks every element

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

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

1  
sbool isStringCollection(O o) {
2  
  if (!o instanceof Cl) false;
3  
  Cl l = cast o;
4  
  for (O x : l) if (!x instanceof S) false;
5  
  true;
6  
}

Author comment

Began life as a copy of #1014366

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030929
Snippet name: isStringCollection - actually checks every element
Eternal ID of this version: #1030929/1
Text MD5: c292330addfcef915e5bed8bf7ef03c6
Transpilation MD5: a075737d8a8ae03f63a4d9e9d3d70d6e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-04-12 16:01:42
Source code size: 138 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 182 / 272
Referenced in: [show references]