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: | 703 / 791 |
| Version history: | 2 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1012480 - isSuperclass - is a a superclass of b (or the same)? #1015399 - isSubclassOf - synonym of isSubclass - is a a subclass of b (or the same)? |