Libraryless. Click here for Pure Java version (2472L/16K).
1 | static int charAtAsIntOrMinus1(CharSequence s, int i) { |
2 | ret i >= 0 && i < l(s) ? (int) s.charAt(i) : -1; |
3 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1029209 |
Snippet name: | charAtAsIntOrMinus1 |
Eternal ID of this version: | #1029209/1 |
Text MD5: | 4b97f6db30598e3f50eb5e73f76b1604 |
Transpilation MD5: | f304aef1dac22274fe9d6c3f8bd81a70 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-25 13:06:34 |
Source code size: | 110 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 223 / 316 |
Referenced in: | [show references] |