1 | sbool isPunctuationCharacter(char c) { |
2 | ret !isSpace(c) && !Character.isLetterOrDigit(c); |
3 | } |
4 | |
5 | sbool isPunctuationCharacter(S s) { |
6 | ret l(s) == 1 && isPunctuationCharacter(s.charAt(0)); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018223 |
Snippet name: | isPunctuationCharacter |
Eternal ID of this version: | #1018223/2 |
Text MD5: | 313e89831443fb8bac26509966385365 |
Author: | stefan |
Category: | javax / tokenizing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-09-11 13:15:49 |
Source code size: | 193 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 395 / 412 |
Version history: | 1 change(s) |
Referenced in: | [show references] |