1 | embedded void acceptInt(int i) {}
|
2 | embedded void acceptFloat(int f) {}
|
3 | embedded void acceptChar(char c) {}
|
4 | embedded void acceptShort(short s) {}
|
5 | embedded void acceptDouble(double d) {}
|
6 | acceptInt('a');
|
7 | acceptInt((byte) 0); |
8 | acceptFloat(Int.MAX_VALUE); |
9 | //acceptFloat(Long.MAX_VALUE); |
10 | //acceptShort(Char.MAX_VALUE); |
11 | //acceptChar(Short.MAX_VALUE); |
12 | acceptDouble('a'); |
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): bhatertpkbcr, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034752 |
| Snippet name: | Test primitive conversions Scratchpad |
| Eternal ID of this version: | #1034752/1 |
| Text MD5: | 86cfece54ee9ee8fafdd0a3fa22957b2 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX (incomplete) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-03-08 03:09:56 |
| Source code size: | 371 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 363 / 380 |
| Referenced in: | [show references] |