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

3
LINES

< > BotCompany Repo | #1012479 // isSubclass - is a a subclass of b (or the same)?

JavaX fragment (include)

static bool isSubclass(Class a, Class b) {
  ret a != null && b != null && b.isAssignableFrom(a);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, elmgxqgtpvxh, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1012479
Snippet name: isSubclass - is a a subclass of b (or the same)?
Eternal ID of this version: #1012479/3
Text MD5: 56edd59495799d9d2dc810103b2d5f6c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-13 16:44:24
Source code size: 101 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 385 / 446
Version history: 2 change(s)
Referenced in: [show references]