Libraryless. Click here for Pure Java version (35L/1K).
1 | sbool isBoxedType(Class type) {
|
2 | ret type == Boolean.class |
3 | || type == Integer.class |
4 | || type == Long.class |
5 | || type == Float.class |
6 | || type == Short.class |
7 | || type == Character.class |
8 | || type == Byte.class |
9 | || type == Double.class; |
10 | } |
Began life as a copy of #1017021
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1024088 |
| Snippet name: | isBoxedType (Bool, Int, ...) |
| Eternal ID of this version: | #1024088/1 |
| Text MD5: | 1be81e416592a12af32a11c508ba6a3c |
| Transpilation MD5: | 92c265b72b63196662cb8702be88a610 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-07-20 15:26:26 |
| Source code size: | 265 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 497 / 623 |
| Referenced in: | [show references] |