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

8
LINES

< > BotCompany Repo | #1006149 // isListOfElementType

JavaX fragment (include)

sbool isListOfElementType(O o, Class type) {
  if (!o instanceof L) false;
  ret allElementsAreOfType((List) o, type);
}

sbool nuLike isListOfElementType(Class type, O o) {
  ret isListOfElementType(o, type);
}

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: #1006149
Snippet name: isListOfElementType
Eternal ID of this version: #1006149/2
Text MD5: c6728324631733d3dce4b1f1d2705bba
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-16 05:57:30
Source code size: 218 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 536 / 544
Version history: 1 change(s)
Referenced in: [show references]