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

6
LINES

< > BotCompany Repo | #1012888 // hasClass

JavaX fragment (include)

static bool hasClass(S name) {
  try {
    Class.forName(name);
    true;
  } catch { ret false; }
}

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: #1012888
Snippet name: hasClass
Eternal ID of this version: #1012888/1
Text MD5: 9472275b9bdba7df02c314dc007aee84
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-15 01:07:24
Source code size: 105 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 550 / 584
Referenced in: [show references]