static int charToInt(S s) { ret empty(s) ? 0 : (int) s.charAt(0); } static int charToInt(char c) { ret (int) c; }
Began life as a copy of #1004037
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney
No comments. add comment
Snippet ID: | #1004038 |
Snippet name: | charToInt |
Eternal ID of this version: | #1004038/1 |
Text MD5: | fc69b38f0488a90a71685346b53503f7 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-08-04 14:56:34 |
Source code size: | 124 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 456 / 477 |
Referenced in: | [show references] |