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

9
LINES

< > BotCompany Repo | #1011681 // isJavaIdentifierAfter

JavaX fragment (include)

static boolean isJavaIdentifierAfter(S s, int i) {
  int n = l(s);
  if (i >= n || !Character.isJavaIdentifierStart(s.charAt(i)))
    false;
  for (i++; i < n; i++)
    if (!Character.isJavaIdentifierPart(s.charAt(i)))
      false;
  true;
}

Author comment

Began life as a copy of #1001138

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1011681
Snippet name: isJavaIdentifierAfter
Eternal ID of this version: #1011681/2
Text MD5: 20a87345f9fc8a96d749836a9de4d725
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-02 04:35:55
Source code size: 249 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 467 / 609
Version history: 1 change(s)
Referenced in: [show references]