1 | static bool isSubtypeOf(Class a, Class b) { |
2 | ret a != null && b != null && b.isAssignableFrom(a); // << always hated that method, let's replace it! |
3 | } |
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lhdilzshxjzv, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004846 |
Snippet name: | isSubtypeOf - is a class a subtype of another class? |
Eternal ID of this version: | #1004846/2 |
Text MD5: | c445493cb369d04b5d00f587a9bed760 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-11-15 23:10:31 |
Source code size: | 152 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 715 / 1089 |
Version history: | 1 change(s) |
Referenced in: | [show references] |