Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1032032 // eqCharAt

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2981L/17K).

1  
sbool eqCharAt(S s, int i, char c) {
2  
  int n = l(s);
3  
  ret i >= 0 && i < n && s.charAt(i) == c;
4  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1032032
Snippet name: eqCharAt
Eternal ID of this version: #1032032/1
Text MD5: 21bb6b0d6b97f459ce4bd41c7109234c
Transpilation MD5: 5a05d99ca71851b906f66335b2c95d47
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-11 04:19:29
Source code size: 100 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 144 / 194
Referenced in: [show references]