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

5
LINES

< > BotCompany Repo | #1002545 // isLongConstant

JavaX fragment (include)

static boolean isLongConstant(S s) {
  if (!s.endsWith("L")) ret false;
  s = s.substring(0, l(s)-1);
  ret isInteger(s);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1002545
Snippet name: isLongConstant
Eternal ID of this version: #1002545/1
Text MD5: 842a8e13d761884fde310d45745b514b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-02-01 01:23:56
Source code size: 127 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 644 / 2192
Referenced in: [show references]