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

9
LINES

< > BotCompany Repo | #1026610 - moreThanOneToken

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2217L/14K).

sbool moreThanOneToken(S s) {
  Producer<S> it = javaTokC_producer(s);
  if (it.next() == null) false;
  ret it.next() != null;
}

sbool moreThanOneToken(LS tok) {
  ret l(tok) > 3;
}

Author comment

Began life as a copy of #1021093

download  show line numbers  debug dex   

Travelled to 3 computer(s): mqqgnosmbjvj, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026610
Snippet name: moreThanOneToken
Eternal ID of this version: #1026610/4
Text MD5: 165b740086ac5a2d2525220142adc44d
Transpilation MD5: fea71cbff78823a85483bada8c8c2f37
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-16 15:08:47
Source code size: 191 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 9 / 24
Version history: 3 change(s)
Referenced in: [show references]

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