1 | svoid assertIsInstance(Class type, O o) {
|
2 | if (!isInstance(type, o)) |
3 | fail(_getClass(o) + " is not a subclass of " + type); |
4 | } |
5 | |
6 | svoid assertIsInstance(O o, Class type) { |
7 | assertIsInstance(type, o); |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1018570 |
| Snippet name: | assertIsInstance |
| Eternal ID of this version: | #1018570/3 |
| Text MD5: | 47925e0cedab12dc4c61cfc0e84d75c8 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-10-06 07:29:38 |
| Source code size: | 206 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 714 / 779 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |