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

6
LINES

< > BotCompany Repo | #1028399 // allStrings - check if a bunch of objects are strings

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

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

sbool allStrings(O... l) {
  if (l != null) for (O o : l)
    if (!o instanceof S)
      false;
  true;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028399
Snippet name: allStrings - check if a bunch of objects are strings
Eternal ID of this version: #1028399/4
Text MD5: 2bef8b1e9ec8a4780fad38509f9242f8
Transpilation MD5: 90ac5fba008540637d5ea3fc9f2ed0c3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-16 01:10:34
Source code size: 110 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 122 / 199
Version history: 3 change(s)
Referenced in: [show references]