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

7
LINES

< > BotCompany Repo | #1021093 - countTokens

JavaX fragment (include)

static int countTokens(S s) {
  ret l(javaTokC(s));
}

static int countTokens(LS tok) {
  ret l(tok)/2;
}

Author comment

Began life as a copy of #1021092

download  show line numbers  debug dex   

Travelled to 5 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pzhvpgtvlbxg, tvejysmllsmz

No comments. add comment

Snippet ID: #1021093
Snippet name: countTokens
Eternal ID of this version: #1021093/2
Text MD5: 41cff06d54510c0d5720f122697b4d7b
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-28 17:42:38
Source code size: 111 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 98 / 103
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1021093 & http://1021093.tinybrain.de