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

11
LINES

< > BotCompany Repo | #1005591 // structure_isMarker - special function for structure()

JavaX fragment (include)

static boolean structure_isMarker(S s, int i, int j) {
  if (i >= j) ret false;
  if (s.charAt(i) != 'm') ret false;
  ++i;
  while (i < j) {
    char c = s.charAt(i);
    if (c < '0' || c > '9') ret false;
    ++i;
  }
  ret true;
}

Author comment

Began life as a copy of #1000567

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005591
Snippet name: structure_isMarker - special function for structure()
Eternal ID of this version: #1005591/1
Text MD5: c64c1a28ca1705b856fedbb37c2bf5a4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-11-28 20:20:14
Source code size: 243 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 650 / 672
Referenced in: [show references]