1 | static bool isSubclass(Class a, Class b) { |
2 | ret a != null && b != null && b.isAssignableFrom(a); |
3 | } |
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: | 465 / 524 |
Version history: | 2 change(s) |
Referenced in: | [show references] |