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

7
LINES

< > BotCompany Repo | #1001563 // isRandomID

JavaX fragment (include)

1  
static boolean isRandomID(S s, int len) {
2  
  if (l(s) != len) ret false;
3  
  for (int i = 0; i < len; i++)
4  
    if (!Character.isLetter(s.charAt(i)))
5  
      ret false;
6  
  ret true;
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001563
Snippet name: isRandomID
Eternal ID of this version: #1001563/1
Text MD5: 5eb79b538c56616831af015cd90f4c99
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-10-24 19:19:07
Source code size: 182 bytes / 7 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 661 / 905
Referenced in: [show references]